London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Best practice for language files

Vote:
0

Hi,

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?

Thanks,

Helder

#81359
Feb 14, 2014 16:33
Vote:
0

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.

#81381
Feb 16, 2014 21:55
Vote:
0

thank you Valdis

#81422
Feb 17, 2014 10:58
Vote:
0

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

#81798
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.