[OPEN-ILS-GENERAL] Problems with running Czech in Evergreen
Dan Scott
denials at gmail.com
Wed Mar 18 12:40:12 EDT 2009
Hi Václav:
A quick email as I'm in a meeting at the moment, I'll try to follow up
with more later:
I found that there were some problems in the translation as 1.4.0.2
was being packaged - the build was generating an empty lang.dtd file,
and I had to commit the following change to make it work:
http://svn.open-ils.org/trac/ILS/changeset/12349/branches/rel_1_4_0/build/i18n/po/cs-CZ/lang.dtd.po
- this was part of http://svn.open-ils.org/trac/ILS/ticket/44
I don't recall there being a problem with the OPAC or loading the
strings into database, but I will certainly retest when I get the
chance.
Dan
2009/3/18 Václav Jansa <v.jansa at stk.cz>:
> Dear all,
> We have started to test Evergreen 1.4.0.2 - with the implemented
> localization into Czech - with our students at the Institute of Information
> Studies and Librarianship at Charles University, Prague, Czech Republic. The
> outputs from the seminar should include the debugged Czech localization and
> also manuals in Czech.
>
> However, when trying the Czech localization, we seem to have encountered the
> following serious problems. The Czech language is in the system but, at the
> same time, it is missing. As a result, it is not possible to switch to Czech
> properly.
>
> 1st problem found and sorted out – there is a missing definition of Czech in
> table no. 950
>
> This has been resolved manually:
>
> INSERT INTO config.i18n_locale (code,marc_code,name,description)
> VALUES ('cs-CZ', 'cze', oils_i18n_gettext('cs-CZ', 'Cestina', 'i18n_l',
> 'name'),
> oils_i18n_gettext('cs-CZ', 'Cesky jazyk', 'i18n_l', 'description'));
>
> 2nd problem found:
>
> When loading Czech into the database:
>
> psql:/home/opensrf/Evergreen-ILS-1.4.0.2/Open-ILS/src/sql/Pg/950.data.seed-v
> alues-cs-CZ.sql:557: ERROR: duplicate key violates unique constraint
> "i18n_identity"
>
> 3rd problem (or its symptom) found – we do not have a functional Czech OPAC
> – after switching to Czech we see (instead of the OPAC):
>
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
>
> And, subsequently, in the log:
>
> [Wed Mar 18 08:01:17 2009] [error] [client 192.168.2.219] XMLENT XML Parse
> Error: unexpected parser state - please send a bug report at line 47: parsin
> g /openils/var/web/opac/skin/default/xml/index.xml: data
> <!--\t=================================================================
> \n\t\tSome generic stu
> ff \n\t\t=================================================================
> -->\n<!ENTITY lang.version "remote v1">\n<!ENTITY lang.description
> -->"Angli\xc
> 4\x8dtina">\n<!ENTITY lang.author "PINES">\n<!ENTITY common.all
> "V\xc5\xa1e">\n<!ENTITY common.currency "%">\n<!ENTITY common.language
> "Jazyk:">\n<!ENT
> ITY common.name "Jm\xc3\xa9no">\n<!ENTITY common.none "Nic">\n<!ENTITY
> common.title "N\xc3\xa1zev">\n<!ENTITY common.author "Autor">\n<!ENTITY
> common.a
> uthors "Auto\xc5\x99i">\n<!ENTITY common.callnumber "Signatura">\n<!ENTITY
> common.edition "Vyd\xc3\xa1n\xc3\xad">\n<!ENTITY common.subject "T\xc3\xa9ma
> ">\n<!ENTITY common.series "Edice">\n<
>
> SNIP
>
> [Wed Mar 18 08:01:17 2009] [error] [client 192.168.2.219] unable to include
> "/opac/locale/${locale}/opac.dtd" in parsed file /openils/var/web/opac/skin
> /default/xml/index.xml, referer:
> http://192.168.122.82/opac/en-US/skin/default/xml/index.xml
> [Wed Mar 18 08:01:17 2009] [error] [client 192.168.2.219] XMLENT XML Parse
> Error: syntax error at line 1: parsing /openils/var/web/opac/skin/default/xm
> l/index.xml: data [an error occurred while processing this directive],
> referer: http://192.168.122.82/opac/en-US/skin/default/xml/index.xml
>
> 4th problem - staff client in Czech is not functional – when switching to
> Czech the staff client is in Czech, however, after loading xul the following
> dialog appears:
>
> Alert>
> fmall.js: Type Error: document.getElementById("offlineStrings") has no
> properties
>
> This dialog is followed by:
>
> XML Parsing Error: undefined entity
> Location:
> chrome://open_ils_staff_client/content/main/menu_frame.xul?server=http%3A//1
> 92.168.122.82
> Line Number 30, Column 1:<window id="menu_frame_win"
> ^ <tab id="tab_1"
> accesskey="&staff.chrome.menu_frame_overlay.tab1.accesskey;"
> label="&staff.chrome.menu_frame_overlay.tab1.label;" hidden="true" />
> ------------------------^<menu id="main.menu.file"
> label="&staff.main.menu.file.label;"
> accesskey="&staff.main.menu.file.accesskey;" >
> ^
>
> Could you please help us how to make Czech work :-) ? All of the other
> languages - French, Armenian, Canadian English and English - work well...
>
> Thank you in advance for any help provided!
>
> Best regards,
> Vaclav Jansa a Linda Skolkova
>
>
> --
> Vaclav Jansa, IT Administrator
> State Technical Library
> Marianske n. 5
> POB 206
> 110 01 Prague 1
> Czech Republic
> +420 221 663 487
>
> The World is getting smaller and smaller, the Man is getting bigger and
> bigger, an idiot. - Jan Werich 2.X.1960
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
Dan Scott
Laurentian University
More information about the Open-ils-general
mailing list