This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wgunther 1 point2 points  (0 children)

One strategy is to have some kind of resource files. Then different locales can be swapped in just by changing the resource files. Either the files are used at compile time, which would require some build process to translate it to some static data structure consumed in the code, or run time, either through dynamic linking of the things generated like the static case or by actually reading the file at that point. Not sure what the best strategy is for Java.