Play (Java/Scala) Localization

Play framework applications are written in Scala or Java and run on the JVM.

Play uses properties files to externalize your segments, having two important differences to other frameworks that use properties files:

  • the filenames must not have the extension “.properties” (eg.: “messages”, “messages.en-US”)

  • the encoding of the files has to be UTF-8

Lingohub needs a file extension for our import/export process to work correctly. You can use Lingohub to internationalize your Play applications as long as you upload your resource files with the extension “.properties”. This can simply be done by writing a neat shell script.

Since Lingohub is capable to manage properties files having UTF-8 encoding, the same rules apply as described here: Java Localization


Example files can be accessed here.


Last updated