Tags:
create new tag
view all tags

SID-00582: Problem in Localisation

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Problem in Localisation
SupportCategory CategoryLocalization
TWiki version 4.2.4
Server OS Windows Server 2003
Web server Apache 2.2
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-10-21 - RajeshN
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.