SID-00582: Problem in Localisation
| Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
5.8.8 |
| Category: |
CategoryLocalization |
Server OS: |
Windows Server 2003 |
Last update: |
16 years ago |
I have enable Internationalitation for my site. I have an page in my site named WebBar.txt which had the following content
---++++ %MAKETEXT{"INTRANET"}%
* [[ArticleBook][%MAKETEXT{"Article Book"}%]]
* [[SFPriceList][%MAKETEXT{"Price List"}%]]
* [[SFDesign][%MAKETEXT{"Design"}%]]
* [[SFIT][%MAKETEXT{"IT"}%]]
* [[SFHumanResources][%MAKETEXT{"Human Resources"}%]]
* [[SFMisCellaneous][%MAKETEXT{"Miscellaneous"}%]]
* [[SFProjects][%MAKETEXT{"Projects"}%]]
* [[SFPurchasing][%MAKETEXT{"Purchasing"}%]]
* [[http://intranet/content/quality/quality_index_1.html][%MAKETEXT{"Quality"}%]]
* [[SFSales][%MAKETEXT{"Sales"}%]]
* [[SFWorkShop][%MAKETEXT{"Workshop"}%]]
And the equivalent translations under de.po was
#: data/Intranet/WebBar.txt:4
msgid "Article Book "
msgstr "Artikel-Buch "
#: data/Intranet/WebBar.txt:5
msgid "Price List "
msgstr "Preisliste "
#: data/Intranet/WebBar.txt:6
msgid "Design "
msgstr "Entwurf "
#: data/Intranet/WebBar.txt:7
msgid "IT "
msgstr "EDV "
#: data/Intranet/WebBar.txt:8
msgid "Human Resources "
msgstr "Arbeitskräftepotenzial "
#: data/Intranet/WebBar.txt:9
msgid "Miscellaneous "
msgstr "Verschieden "
#: data/Intranet/WebBar.txt:10
msgid "Projects "
msgstr "Projekte "
#: data/Intranet/WebBar.txt:11
msgid "Purchasing "
msgstr "Kauf "
#: data/Intranet/WebBar.txt:12
msgid "Quality "
msgstr "Qualität "
#: data/Intranet/WebBar.txt:13
msgid "Sales "
msgstr "Verkäufe "
#: data/Intranet/WebBar.txt:14
msgid "Workshop"
msgstr "Werkstatt "
Now when I change the language to German all the texts under WebBar still appeared in English, except Werkstatt appeared for the last line Workshop...
What could be the reason for this...????
--
RajeshN - 2009-10-21
Discussion and Answer
I managed to solve it myself...
The problem was the trailing spaces in the msgid texts....
--
RajeshN - 2009-10-21
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Topic revision: r2 - 2009-10-21
- RajeshN