From: brett l. <wak...@gm...> - 2006-07-11 20:58:45
|
On 7/11/06, Erik Vos <eri...@hc...> wrote: > > Java has it's own localisation methods and classes under > > java.util.Locale and java.util.ResourceBundle. > > > > The current plan for localization in Rails is fairly loose. Erik has > > started a basic amount of using the Locale class and > > LocalisedText.properties. > > Localisation is (or should be) already handled in Game.getText(). > Currently there is only a default (English) text file, > but IIRC adding French texts in a file LocalisedText_fr.properties > should handle that language (after calling Game.setLocale("fr")). > We should make this a configurable option on startup. We should also look at saving a file of "default" settings so that when the user sets a preference, we save it and re-use it the next time we start up. ---Brett. |