News:

We really need your input in this questionnaire

Main Menu

Add new language (Vietnamese) to NetXMS

Started by samwellho, July 17, 2022, 11:55:52 AM

Previous topic - Next topic

samwellho

NetXMS currently does not have Vietnamese language. I want contribute to put Vietnamese language into NetXMS.

Can you guide me how to integrate a new language for NetXMS? For example, I want to add Vietnamese to NetXMS, how to do it (brief introduction)?

Victor Kirhenshtein

Hi,

most texts in UI are located in so called language files. For translation we create new language file which initially contains all texts in English, so they can be translated. We also add new language menu to UI.

Currently there are two issues:
1. Not all texts moved to language files, some are hard-coded as English.
2. We are in process of migrating to new UI, which will have different localization mechanism.

I can prepare and provide you language files for old UI, so you'll be able to translate most of the texts. However, it could be more effective to do new translation on new UI. I hope we will have localization mechanism in new UI ready with release 4.2.

Best regards,
Victor

samwellho

For example with nxmc (Linux x86 GTK), I tried two ways as follows:

1. Edit the file "src/java/netxms-eclipse/Core/src/org/netxms/ui/eclipse/console/ApplicationActionBarAdvisor.java" to add new Vietnamese language, and also add the all files "messages_vi.properties" to "netxms-eclipse" source codes (copy from the file "messages.properties" to "messages_vi.properties"). However, when compiling with Maven, it gives an errors.

2. Using the available language (French), translate the contents of the all "messages_fr.properties" files in "netxms-eclipse" source codes. Recompile ""netxms-eclipse" source codes using Maven successfully. However, Vietnamese must use Unicode UTF-8, when running nxmc, there is a font error, the characters are displayed incorrectly (strange characters instead of Vietnamese).

Can you show me how to properly display Vietnamese characters in the second case, what format the "messages_fr.properties" files must be saved (encode) for NXMC to display properly.

Sorry I'm not familiar with the Babel implementation on Java/Eclipse.