Difference between revisions of "HSQLDB Localization"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 1: Line 1:
 
In an effort to provide OpenOffice.org users with localized [[HSQLDB]] error messages (in the form [[HSQLDB Integration|shipped with OOo 2.0]], all error messages are English), a [http://dba.openoffice.org/servlets/ReadMsg?list=users&msgNo=3029 call was made] to the community to volunteer for translating the error messages from the [http://sourceforge.net/project/showfiles.php?group_id=23316&release_id=339171 HSQLDB source] into other languages.
 
In an effort to provide OpenOffice.org users with localized [[HSQLDB]] error messages (in the form [[HSQLDB Integration|shipped with OOo 2.0]], all error messages are English), a [http://dba.openoffice.org/servlets/ReadMsg?list=users&msgNo=3029 call was made] to the community to volunteer for translating the error messages from the [http://sourceforge.net/project/showfiles.php?group_id=23316&release_id=339171 HSQLDB source] into other languages.
  
So far, we have volunteers for the following languages:
+
So far, we have volunteers (V) and finished translations (F) for the following languages:
  
 
(The initial list was stolen from [http://qa.openoffice.org/issue_handling/submission_gateway.html#language here], feel free to add your own language/name if you want to participate.)
 
(The initial list was stolen from [http://qa.openoffice.org/issue_handling/submission_gateway.html#language here], feel free to add your own language/name if you want to participate.)
  
 
<pre>
 
<pre>
[ ] Basque
+
V  F
[ ] Brazilian(Pt)
+
[ ] [ ] Basque
[ ] Catalan
+
[ ] [ ] Brazilian(Pt)
[ ] Chinese
+
[ ] [ ] Catalan
[X] Czech: Petr Kolesa
+
[ ] [ ] Chinese
[ ] Danish
+
[X] [X] Czech: Petr Kolesa
[ ] Finnish
+
[ ] [ ] Danish
[X] French: Jérôme Paschoud
+
[ ] [ ] Finnish
[X] German: Thomas Kellerer
+
[X] [ ] French: Jérôme Paschoud
[ ] Greek
+
[X] [X] German: Thomas Kellerer
[ ] Hindi
+
[ ] [ ] Greek
[X] Hungarian: Andras Timar
+
[ ] [ ] Hindi
[ ] Japanese
+
[X] [ ] Hungarian: Andras Timar
[ ] Korean
+
[ ] [ ] Japanese
[ ] Laotian
+
[ ] [ ] Korean
[ ] Malaysian
+
[ ] [ ] Laotian
[ ] Netherlands
+
[ ] [ ] Malaysian
[ ] Norwegian
+
[ ] [ ] Netherlands
[ ] Polish
+
[ ] [ ] Norwegian
[ ] Portugese
+
[ ] [ ] Polish
[ ] Romanian
+
[ ] [ ] Portugese
[ ] Russian
+
[ ] [ ] Romanian
[ ] Serbian
+
[ ] [ ] Russian
[ ] Slovak
+
[ ] [ ] Serbian
[ ] Slovenian
+
[ ] [ ] Slovak
[ ] Spanish
+
[ ] [ ] Slovenian
[ ] Tamil
+
[ ] [ ] Spanish
[ ] Thai
+
[ ] [ ] Tamil
[ ] Turkish
+
[ ] [ ] Thai
 +
[ ] [ ] Turkish
 
</pre>
 
</pre>
  

Revision as of 15:14, 12 December 2005

In an effort to provide OpenOffice.org users with localized HSQLDB error messages (in the form shipped with OOo 2.0, all error messages are English), a call was made to the community to volunteer for translating the error messages from the HSQLDB source into other languages.

So far, we have volunteers (V) and finished translations (F) for the following languages:

(The initial list was stolen from here, feel free to add your own language/name if you want to participate.)

 V   F
[ ] [ ] Basque
[ ] [ ] Brazilian(Pt)
[ ] [ ] Catalan
[ ] [ ] Chinese
[X] [X] Czech: Petr Kolesa
[ ] [ ] Danish
[ ] [ ] Finnish
[X] [ ] French: Jérôme Paschoud
[X] [X] German: Thomas Kellerer
[ ] [ ] Greek
[ ] [ ] Hindi
[X] [ ] Hungarian: Andras Timar
[ ] [ ] Japanese
[ ] [ ] Korean
[ ] [ ] Laotian
[ ] [ ] Malaysian
[ ] [ ] Netherlands
[ ] [ ] Norwegian
[ ] [ ] Polish
[ ] [ ] Portugese
[ ] [ ] Romanian
[ ] [ ] Russian
[ ] [ ] Serbian
[ ] [ ] Slovak
[ ] [ ] Slovenian
[ ] [ ] Spanish
[ ] [ ] Tamil
[ ] [ ] Thai
[ ] [ ] Turkish

Download

The current JAR file with the translated error messages (German and Czech so far) can be found at the DBA pages.

  • download it to an arbitrary location
  • in OOo, go to Tools|Options|OpenOffice.org|Java
  • press the "Class Path" button
  • add the JAR file you just downloaded to the class path
  • close all dialogs with OK
  • (re-start OpenOffice.org, if advised so)

Translation Toolkit

Note that you can use prop2po.py from the translate toolkit to convert properties files to PO files. For example,

 prop2po.py -P sql-error-messages.properties -o po/sql-error-messages.pot
 prop2po.py -t sql-error-messages.properties sql-error-messages_it.properties -o po/it.po

this yield files like this:

#: 001
msgid "08001 The database is already in use by another process"
msgstr "08001 L'archivio è in uso da un altro processo"

#: 002
msgid "08003 Connection is closed"
msgstr "08003 Connessione chiusa"

Samples from hsqldb 1.8 here

Personal tools