Translations
Posted: Mon Jul 15, 2019 7:14 pm
The X# runtime contains string tables that are derived from the original string tables from VO.
These string tables can be found in the folder https://github.com/X-Sharp/XSharpPublic ... e/Language
The file Generic.resx contains (as the name indicates) the generic string table, which is the English string table.
This table is used when a translation for a specific language is missing.
Other resx files are available for several other languages.
Some of these only contain the day names and month names. Others are more complete.
We are looking for volunteers that help us add missing strings to various language string tables.
If you want to help, follow these steps:
- announce here which language you are going to work on, so we will not duplicate the work
- download Generic.resx
- download Your language.resx
- use an UTF8 editor to edit the entries (VS for example)
- correct existing entries. We may have corrupted some strings when translating from Ansi to Unicode
- compare the two files and locate missing entries. For example all string tables are missing the last 3 entries ERRORDIALOG_TITLE, ERRORDIALOG_CLOSE and ERRORDIALOG_COPY which were added today.
- Copy the relevant section over from Generic.resx and translate the string between <value> and </value>. Please use HTML encoding for special characters such as <, > and & like you can see in the last entry where the ampersand is encoded as &. Make sure that special characters are UTF8 encoded.
- Send us the changed resource file so we can include it in the next build.
Please note that there are some older strings in the table that are not (yet) used in X#. We are planning to cleanup the table in the coming months.
Thanks in advance.
Robert
These string tables can be found in the folder https://github.com/X-Sharp/XSharpPublic ... e/Language
The file Generic.resx contains (as the name indicates) the generic string table, which is the English string table.
This table is used when a translation for a specific language is missing.
Other resx files are available for several other languages.
Some of these only contain the day names and month names. Others are more complete.
We are looking for volunteers that help us add missing strings to various language string tables.
If you want to help, follow these steps:
- announce here which language you are going to work on, so we will not duplicate the work
- download Generic.resx
- download Your language.resx
- use an UTF8 editor to edit the entries (VS for example)
- correct existing entries. We may have corrupted some strings when translating from Ansi to Unicode
- compare the two files and locate missing entries. For example all string tables are missing the last 3 entries ERRORDIALOG_TITLE, ERRORDIALOG_CLOSE and ERRORDIALOG_COPY which were added today.
- Copy the relevant section over from Generic.resx and translate the string between <value> and </value>. Please use HTML encoding for special characters such as <, > and & like you can see in the last entry where the ampersand is encoded as &. Make sure that special characters are UTF8 encoded.
- Send us the changed resource file so we can include it in the next build.
Please note that there are some older strings in the table that are not (yet) used in X#. We are planning to cleanup the table in the coming months.
Thanks in advance.
Robert