Resolve "Change language codes to use ISO 3166 and ISO 639 codes"
What does this MR do
Change language codes
IMPACTS
- Locale files have changed their names. EG: Locale-ES.xml -> Locale-es-ES.xml
- Languages now have been changed to 5 digits using ISO 3166 and ISO 639 codes. EG: es -> es-ES
- New database script to change
ope
language field size. - Avoid using
LanUsr
enumerated (it is deprecated) - Add the following script at the end of your final application:
UPDATE ope SET l1_lan = 'es-ES' WHERE l1_lan = 'ESP';
UPDATE ope SET l1_lan = 'en-GB' WHERE l1_lan = 'ENG';
UPDATE ope SET l1_lan = 'fr-FR' WHERE l1_lan = 'FRA';
NOTE: Update as many languages as you manage on your application
Related issues
Fix #586 (closed)
Your checklist for this pull request
-
Make sure your merge request is to develop or /feature /bugfix branch. Don't request your master! -
Check the commit's or even all commits' message styles matches our requested structure. -
Check the commit's pass the CI pipeline. -
New and existing unit tests pass locally with my changes. -
Commented code, particularly in hard-to-understand areas
Closes #586 (closed)
Edited by Pablo Javier García Mora