About the Language

Started by Billy, December 13, 2011, 09:52:51 AM

Previous topic - Next topic

Billy

Hi,Victor!

   i'm very glad to see the new 1.1.7 version of java console has added the language choosing menu, but there are only two languages --English and Russuan can be chosen,  so i want to add our mother language(Chinese) by myself,  would you tell me how can i start(for example, which source files or modules are the language swiching's core)?
   thank you!

Best Regards

Billy

Victor Kirhenshtein

Hi!

I start preparing Java console for translating to different languages. Actual translation is done by creating appropriate language files. You can try to locate existing messages.properties in projects (currently projects library, core, and alarm browser are prepared for translation), and create files messages_zh_CN.properties with Chinese translation. Then I will add appropriate language switch and include these translated files into main source tree.

Best regards,
Victor

Billy


testos

Hi.

But, where I can locate messages.properties file?

Best regards.

Victor Kirhenshtein

Hi!

You have to get current svn repository: https://svn.netxms.org/public/netxms/trunk. Sources of Java console are under src/java/netxms-eclipse. Below that point there are various messages.properties in different plugins, like src\java\netxms-eclipse\core\src\org\netxms\ui\eclipse\console\messages.properties. There should be one message file per plugin, usually located in the root package of a plugin. PLease note that currently only few plugins are prepared for translation.

Best regards,
Victor

testos

#5
Hi, Victor!

I send you plugins translated into Spanish.

Best regards.

Victor Kirhenshtein

Hi!

Thanks for the translation! I have added language switch for Spanish and Chinese languages, and add files you have sent to the project. I also forgot to mention that there are additional files to translate - they are called bundle.properties, and located in <project_root>/OSGI-INF/l10n.
I'll post to this thread as I will prepare more plugins for translation.

Best regards,
Victor

Victor Kirhenshtein

Also, the following line looks wrong to me:

AcknowledgeAlarm_ErrorMessage=No es posible puedo Cannot aceptar la alarma

Best regards,
Victor

testos

QuoteAlso, the following line looks wrong to me:

AcknowledgeAlarm_ErrorMessage=No es posible puedo Cannot aceptar la alarma


Yes, it's wrong. I re-send corrected and rechecked file.

QuoteI also forgot to mention that there are additional files to translate - they are called bundle.properties, and located in <project_root>/OSGI-INF/l10n.

I have also translated into Spanish and verified four bundle.properties files.

Best regards.

Billy

#9
Hi, Victor!

I send you plugins translated into Chinese,  please add them into the new version.  And i hope that you can put the completely international version in which most of the information of in user interface can be changed into the four languages(Chinese, English, Russian & Spanish).Thank you!!

Best regards.

testos

Hi.

QuoteI'll post to this thread as I will prepare more plugins for translation.

Any news about this theme.

Best regards.

Billy


Victor Kirhenshtein

Sorry for deley with that. I'll spend few evenings on this and next week and will convert most plugins to use messages files. Then you will be able to continue translation.

Best regards,
Victor

Victor Kirhenshtein

#13
Hi all!

Finally I've made some progress on this. Attached is an archive with latest message files. Please translate (in appropriate messages_lang.properties) and send back to me keeping same directory structure within archive. Archive includes existing translated files as well. Please note that there can be new entries in already translated files, so you have to compare existing translated files with English version for possible appearance of new messages!

Best regards,
Victor

Billy