Page 1 of 1

Adding a language

Posted: Tue Sep 18, 2018 12:04 pm
by purpletreesoft
Hi,
Is anybody aware if there is a coding standard or something for a language pack? What I have seen is there are files which need to be present for a language to work.
It gives rise to some problems, like the language code being a mismatch between providers.
E.g. opencart has its language file in a folder called english and then some extension provides its language file in a folder called en-gb or en-us.
How to avoid this kind of clash?
Thanks in advance!

Re: Adding a language

Posted: Tue Sep 18, 2018 3:11 pm
by xxvirusxx
Opencart 2.1.0.2 use english folder.
Opencart 2.2 to 3.0.20 use en-gb folder