Try our conversational search powered by Generative AI!

Best practice for language files



When it comes to language files, I understand it's possible to either have multiple languages within a XML file or having a separate file for each language (myFile-ENGG.xml, myFile-DEDE.xml), as using <languages> and <language> nodes correctly is the only requirement.

Is this correct and is one of the approaches considered a best practice?



Feb 14, 2014 16:33

Yes, you got it correctly: both approaches are possible to use file per multiple languages, or file per single language.

Personally dunno what's best practices but I found it convenient to use single file per language – better to manage, track and past it over to translation. Similar approach as you would do with source files – single file per type.

Feb 16, 2014 21:55

thank you Valdis

Feb 17, 2014 10:58

Hi both, I agree with Valdis, a single file per language works well.

Feb 26, 2014 15:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.