The OpenDS LDAP directory server is localized by default in many different languages, thanks to our community.
All (well we try) messages from the client tools, command lines or graphical, are translated in Chinese (Simplified and Traditional), German, French, Japanese, Korean and Spanish (and soon Polish). But the server error messages are also localized, and the OpenDS directory server picks up the current locale of the process owner to choose in which language to print them.
Not everyone wants to have the server error messages in their own language, especially in distributed or international teams. There is a way to make sure the server always uses English as the language for the message, regardless of who starts it, and it’s very simple (thanks to Josu for reminding me how to do it 😉 ):
Edit the java.properties file (from the config/ directory) and append the following to the start-ds.java-args line:
-Duser.language=en -Duser.country=US
Example:
start-ds.java-args=-server -Xms128m -Xmx256m -Duser.language=en -Duser.country=US
Now run the dsjavaproperties command and restart the server.
Et voila ! All in English.
Technorati Tags: directory-server, java, ldap, localization, opends, opensource, tip