mharc-users

Re: Polish characters in Namazu

2003-04-16 13:09:59
On Wed, Apr 16, 2003 at 02:03:18PM -0500, Earl Hood wrote:
After that I made `make configure` and `make editidx`.
And it still doesn't work. I don't know what should I do now.
I think that I followed your sugestions and made everything correct.
Apparently, there is something else going on since the pages
on your site do not have the <meta http-equiv> tag.  Have
you defined any resource files in <mharc-root>/lib/mrc?
Hmmm... I don't remember, but I think I didn't

"We" must repair this because I didn't make backup and after all these
changes I can't set it to original values ;)
You can restore to what is provided by the distribution by copying
the .dist version of a file over the .in version.  So, if you want
restore common.mrc.in to the original, copy common.mrc.in.dist over
it.  If you have removed the .dist file, just re-install mharc (your
local edits will not be changed, but the .dist files will be present)
and manually copy the common.mrc.in.dist file over common.mrc.in.
Ok.

Try the following to see if this fixes your problems:

* Restore the original common.mrc.in from common.mrc.in.dist as
  mentioned above.  You may want to backup your current common.mrc.in
  just in-case.

* Define a <mharc-root>/lib/mrc/_lang_pl.mrc.in file to define a
  Polish version of the en and da versions already provided.  Use
  the en or da version as a template for creating the pl version.

* Define a <mharc-root>/lib/mrc/pddp.mrc.in template resource file
  with the following contents:

    <Include>
    @@MHA_RC_DIR@@/_lang_pl.mrc
    </Include>

    <CharsetConverters>
    iso-8859-2; mhonarc::htmlize
    </CharsetConverters>

  (Note: It may be appropriate to have the CharsetConverters
   setting in _lang_pl.mrc.in, but for now, just put in pddp.mrc.in)

* From the <mharc-root> directory, run the following commands:

    make configure
    make rebuild

  This should do a full rebuild of the archive from the raw mail
  data.

* Check HTML archive pages to see that they have the <meta http-equiv>
  tag.
Works excellent.
Now I have search engine that supports Polish characters and wonderful
archive system :) And styles start working.
Thank you very much. You have beer from me if you will be in/near Cracow
someday :)
 
If successful, please post your _lang_pl.mrc.in file since I can
include it in the mharc distribution.
Tell me what is the function of : 
<DefineVar chop>
BOOKMARK-LINK-LABEL
Bookmark&nbsp;Link
</DefineVar>

I clicked "Bookmark Link" many times and nothing happens.
I tried Mozilla and IE 5.0. It doesn't work even on your archives of
this list. I suppose that it should add this page to Bookmarks ?
If yes then my translation is done :

<!-- Variable for defining any <meta http-equiv> tags. -->
<DefineVar chop>
HTTP-EQUIV
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
</DefineVar>

<DefineVar chop>
PREV-PERIOD-LABEL
Poprzedni&nbsp;okres
</DefineVar>
 
<DefineVar chop>
NEXT-PERIOD-LABEL
Następny&nbsp;okres
</DefineVar>
 
<DefineVar chop>
ADV-SEARCH-LABEL
Zaawansowane
</DefineVar>

<DefineVar chop>
THREAD-IDX-LABEL
Według&nbsp;wątków
</DefineVar>
 
<DefineVar chop>
DATE-IDX-LABEL
Według&nbsp;dat
</DefineVar>
  
<DefineVar chop>
TOP-LINK-LABEL
Początek
</DefineVar>
   
<DefineVar chop>
ALL-LISTS-LABEL
Wszystkie&nbsp;listy
</DefineVar>

<DefineVar chop>
PREV-MSG-BUTTON-LABEL
&lt;poprzedni
</DefineVar>
 
<DefineVar chop>
NEXT-MSG-BUTTON-LABEL
następny&gt;
</DefineVar>
  
<DefineVar chop>
DATE-IDX-BUTTON-LABEL
Wg&nbsp;dat
</DefineVar>
   
<DefineVar chop>
THREAD-IDX-BUTTON-LABEL
Wg&nbsp;wątków
</DefineVar>
   
<DefineVar chop>
ORIGINAL-MSG-LINK-LABEL
Oryginalna&nbsp;wiadomość
</DefineVar>
 
<DefineVar chop>
BOOKMARK-LINK-LABEL
Dodaj&nbsp;do&nbsp;Ulubionych
</DefineVar>
  
<DefineVar chop>
PREV-IN-THREAD-LABEL
&lt;Poprzedni&nbsp;w&nbsp;wątku
</DefineVar>
   
<DefineVar chop>
NEXT-IN-THREAD-LABEL
Następny&nbsp;w&nbsp;wątku&gt;
</DefineVar>

<DefineVar chop>
CURRENT-THREAD-LABEL
Bieżący&nbsp;wątek
</DefineVar>
 
<DefineVar chop>
MORE-SUBJECT-LABEL
Więcej&nbsp;z&nbsp;takim&nbsp;tematem...
</DefineVar>
  
<DefineVar chop>
PREV-BY-DATE-LABEL
Poprzedni&nbsp;wg&nbsp;daty
</DefineVar>
   
<DefineVar chop>
NEXT-BY-DATE-LABEL
Następny&nbsp;wg&nbsp;daty
</DefineVar>

<DefineVar chop>
PREV-BY-THREAD-LABEL
Poprzedni&nbsp;wg&nbsp;wątku
</DefineVar>
 
<DefineVar chop>
NEXT-BY-THREAD-LABEL
Następny&nbsp;wg&nbsp;wątku
</DefineVar>
  
<DefineVar chop>
INDEXES-LABEL
Wykazy
</DefineVar>
  
regards
fEnIo
-- 
      _          Bartosz Feński aka fEnIo | tlen/mailto:fenio(_at_)o2(_dot_)pl
    _|_|_     32-050 Skawina - Głowackiego 3/15 - w. małopolskie - Polska
    (0 0)      phone:+48501608340 | ICQ:46704720 | GG:726362 | IRC:fEnIo
ooO--(_)--Ooo  http://skawina.eu.org | JID:fenio(_at_)jabber(_dot_)org | 
RLU:172001

Attachment: pgpZ6MvWpkhXa.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>