Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » The interface can't display correctly

The interface can't display correctly

Up one level

The interface can't display correctly

Posted by leaping at 2011-07-16 03:03  

I tried to translate the elan's interface into Chinese,but it could't display correctly,the .property file's encode is utf-8.

Re: The interface can't display correctly

Posted by hasloe at 2011-07-18 13:06  

Yes, before you can use the translation you'll have to convert the .properties file to ISO 8859-1 character encoding.
If you have a Java SDK installed you can use the native2ascii.exe tool (command line) for this conversion. You can also search for a free Java Properties Editor (e.g. Zaval Java Resource Editor).

-Han

Re: Re: The interface can't display correctly

Posted by eric at 2011-07-18 17:55  

In case you were wondering how non-european languages can be represented in Latin1 / ISO-8859-1, the trick is that the properties files use Java escapes. Here is an example from the Japanese translation (
src/main/java/mpi/eudico/client/annotator/resources/ElanLanguage_ja.properties) about search and replace in multiple files:

MultipleFileSearch.FindReplace.Title=\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u691c\u7d22/\u7f6e\u63db

As mentioned, the native2ascii Java tool does the conversion to \u9999 style escapes for you.

 

Powered by Plone

This site conforms to the following standards: