List Info

Thread: always the not default language, plz help




always the not default language, plz help
country flaguser name
United States
2008-03-03 06:04:21
Hi there,
I'm quite new to i18n.
I developed a new type with argouml and archgenxml with
i18ndude. The
generated .pot I renamed and opened it to customize the
language.
I developed in german and wanted to make an -en.po file.
The beginning of the -en.po looks like this:

# ArchGenXML generated POT File
# unknown <unknown>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: Vorlesung_v8n"
"POT-Creation-Date: Thu Feb 28 15:02:08 2008n"
"PO-Revision-Date: Thu Feb 28 15:02:08 2008n"
"Last-Translator: unknown <unknown>n"
"Language-Team: unknown <unknown>n"
"MIME-Version: 1.0n"
"Content-Type: text/plain; charset=UTF-8n"
"Content-Transfer-Encoding: 8bitn"
"Plural-Forms: nplurals=1; plural=0n"
"Language-Code: enn"
"Language-Name: Englishn"
"Preferred-Encodings: latin1 utf-8n"
"Domain: Vorlesungn"

#. Default: "Aktuelles"
#: Vorlesung.py
#: Pruefung.py
msgid "label_Aktuelles"
msgstr "NEWS"

#. Default: "Anmeldung"
#: Pruefung.py
msgid "label_Anmeldung"
msgstr ""

#. Default: "Beginn"
#: Vorlesung.py
#: Uebung.py
msgid "label_Beginn"
msgstr "Start"

#. Default: "Betreuer"
#: Vorlesung.py
#: Uebung.py
msgid "label_Betreuer"
msgstr "Instructors"

and the translation works, but it works all the time. I
always get shown the
english version, instead of the german ones, even when I
explicitly choose
german as a language.
How can I change the .po and .pot so that I always get the
language that I
choose and the default text, if there isn't a .po file for a
langauage.

The .pot file looks like this at the beginnig:
# ArchGenXML generated POT File
# unknown <unknown>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: Vorlesung_v8n"
"POT-Creation-Date: Thu Feb 28 15:02:08 2008n"
"PO-Revision-Date: Thu Feb 28 15:02:08 2008n"
"Last-Translator: unknown <unknown>n"
"Language-Team: unknown <unknown>n"
"MIME-Version: 1.0n"
"Content-Type: text/plain; charset=UTF-8n"
"Content-Transfer-Encoding: 8bitn"
"Plural-Forms: nplurals=1; plural=0n"
"Language-Code: enn"
"Language-Name: Englishn"
"Preferred-Encodings: latin1 utf-8n"
"Domain: Vorlesungn"

#. Default: "Aktuelles"
#: Vorlesung.py
#: Pruefung.py
msgid "label_Aktuelles"
msgstr "NEWS"

#. Default: "Anmeldung"
#: Pruefung.py
msgid "label_Anmeldung"
msgstr ""

#. Default: "Beginn"
#: Vorlesung.py
#: Uebung.py
msgid "label_Beginn"
msgstr "Start"

#. Default: "Betreuer"
#: Vorlesung.py
#: Uebung.py
msgid "label_Betreuer"
msgstr "Instructors"

Please help, I already looked through the working .po of
other products and
can't find a difference between there way and mine, but
theirs is working.
:(
-- 
View this message in context: http://www.nabble
.com/always-the-not-default-language%2C-plz-help-tp15799917s
6748p15799917.html
Sent from the Internationalization mailing list archive at
Nabble.com.


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-i18n mailing list
Plone-i18nlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )