Hello,
As AbanteCart likes standardization, I would
suggest numbering languages according alphabetical list for the ISO 639-1 codes from the International Organization for Standardization.
This would mean that "language_id" would be set to:
- 41 for English (instead of default 1)
- 149 for Spanish
- 29 for Chinese
- 55 for German
- 48 for French
a.s.o.
instead of being attributed by the auto increment.
If developers of language extensions would follow this simple rule, it would be much easier to create datasets that can be easily be imported by every user of AbanteCart.
Consider for instance how zone descriptions can be imported by SQL queries:
INSERT INTO `ac_zone_descriptions` (`zone_id`, `language_id`,`name`) VALUES (...,...,'')
Of course, some languages will probably never be imported, like dead ones (e.g. 93,'Latin','la), but it would just suffice to check the list to know which id should be used for each language.
I have prepared the full CSV list of 183 languages, alphabetically ordered, as well as the SQL query equivalent for AbanteCart's list languages list.
I hope there will be some traction for this practice. Writing a few updaters for existing shops should not be a big issue.
Awaiting for your feedback.