[Windows Mobile Software Development] meltwater:
Language Files

Language Files

Please note:

If you are editing the tab control file (26948339_manila) or language files, it is recommended you use an editor which supports the following format:

Line Endings:Unix(LF)

Encoding:UTF-16 Little Endian

Editors such as Programmers Notepad and Notepad2 appear to work well.

If not, then simply post the file when you are done and I will convert for you.

To create a language file, use one of the language files as a template.

Alternatively, you need to determine the manila name (using ManilaHash.exe (part of the Manila kitchen package), file-names are listed below):

1. Lookup the filename for your language and use that file. Use something like win-merge to identify any new entries in 5D3CA1C8_manila (en-us) file (which the master file which will always be up to date with the latest revision).

2. Add the new entries and your translations as you wish (Make sure you use UTF-16 Compatible Editor)

Sense requires the following file format:

Line Endings:Unix(LF)

Encoding:UTF-16 Little Endian

Any entries which are not translated in the file, will have <!--en-us--> before them. Once you have translated the entry, remove this comment on the line.

3. Update the rev number to match the revision you have updated to:

<trans-unit id="IDS_RELEASE_VERSION">

<source>Rev 0 - Template</source>

</trans-unit>

4. Upload to this thread, and it will be added to the list.

[Note:The tab name IDS_RSSTITLE is specified in the another file, see the SenseUtil thread for details on this (Language Title Files section).

Post any updates to that thread and they will be included]

Language File List (Beta Builds):

Names are generated using ManilaHash (\windows\htc\people\locales\nl-nl\rssfeed.nl-nl.xml -> 45C5183A_manila)

Unless otherwise stated, the un-updated files are templates (untranslated en-us) currently at Rev4.Beta. If you get IDS_ values displayed then you will need an updated language file.

In future I will not be updating the template files, and they will not be included in the install (this allows sense to use the default - en-us file).

en-us --> 5D3CA1C8_manila #### MASTER FILE (Rev4.Beta) - WILL ALWAYS BE UP TO DATE IN THE BUILD ####

en-gb --> 52BB74CA_manila (Rev4.Beta)

cs-cz --> 103878F8_manila (Rev 3 (+fb) - thanks to jirkab)

de-de --> 66FAC0B6_manila (Rev 3 (+fb) - thanks to SteveP86 Saugbaer User_99 (+BeeGee_Tokyo))

es-es --> 501DCF32_manila (Rev1 - thanks to amno1970)

es-es_tradnl --> 467C6FDA_manila (Rev1 - thanks to amno1970)

fr-fr --> 4B7197B2_manila (Rev 3.Beta (+fb) - thanks to mickey ric69 (+romualdrichard))

pl-pl --> 5C21E5C2_manila (Rev 2.2	(+fb) - thanks to Budniu (+Skrobel))

zh-cn --> 24E697B8_manila (Rev1 - thanks to winderp)

zh-tw --> 1378D3AC_manila (Rev 2.2 (+fb) - thanks to wstephen boa19861105 (+mudhi))

sk-sk --> 6DD27BCA_manila (Rev 3 (+fb) - thanks to juben (+pa3x))

it-it --> 0CB20886_manila (Rev 1 (+fb) - thanks to bbonzz (+etoy & Drakknar))

## Rev 4.Beta - Template (+fb) ## - Template files where I've been able to pull in fbTab translations for some parts!

nl-nl --> 45C5183A_manila	(+mike2nl)

el-gr --> 23A721E6_manila	(+colossus_r)

pt-br --> 2E511842_manila	(+dotcompt)

pt-pt --> 5AF6D7E2_manila	(+dotcompt)

nb-no --> 233D596C_manila	(+agaPer)

hu-hu --> 115E4006_manila	(+zoliwr)

ru-ru --> 012E43AE_manila	(+Bumeranghc)

## Rev 4.Beta - Template ##

ar-sa --> 58934920_manila

ca-es --> 29FB788A_manila

da-dk --> 10CD3B3A_manila

fi-fl --> 4F878394_manila

ja-jp --> 48821D9C_manila

ko-kr --> 668F3B00_manila

ro-ro --> 220E8E16_manila

sv-se --> 5C82DDD4_manila

tr-tr --> 67FB366A_manila

Beware of the first line --> Normal is:

<xliff version="1.0" lang="en-us">

It should match your Lang!!!

Then translate the entries i.e "RSS Tab Settings" and "Settings Page Disabled":

<trans-unit id="IDS_SETTINGS_TITLE">
<source>RSS Tab Settings</source>
</trans-unit>
<trans-unit id="IDS_SETTINGS_DISABLED">
<source>Settings Page Disabled</source>
</trans-unit>

Then copy back to your \windows\ folder (and post on this thread).

When people have performed translations, I'll post up the completed files here.

Note:

I've added the following entry to help track the versions of the language files:

<trans-unit id="IDS_RELEASE_VERSION">
<source>Rev 4.Beta</source>
</trans-unit>
<trans-unit id="IDS_LANG_AUTHOR">
<source>lang file authors</source>
</trans-unit>

Every time I update the language file in a release (En-Us) (add or change a translation) I shall try to remember to increment the release value - this way people should be able to update the language files each time. If another language file is updated (i.e. to correct a translation, the Rev should be set to "Rev 1A", "Rev1B" etc.), or if entries are added to match the En_Us release then increment the Rev#.

When I enable the settings page I'll display the Rev number of the selected language file so it will be clear if the file is out of date (hopefully this will work ok).