Sunday, January 10, 2021
1 change · master
Miscellaneous changes
Issue - add a new language with locale code KUR (for Kurdish) - print any report with a datetime on it (RFQ for example) Cause Babel (version < 2.7.0) does not handle locale "KUR". Solution If locale "KUR" (code for macro-language "Kurdish") is provided, then use "CKB" (code for individual language "Central Kurdish") instead. If wrong locale or not managed by Babel, then use "en_US" as locale. opw-2416482 Forward-Port-Of: odoo/odoo#64301 Forward-Port-Of: odoo/odoo#641
Original PR description
Issue - add a new language with locale code KUR (for Kurdish) - print any report with a datetime on it (RFQ for example) Cause Babel (version < 2.7.0) does not handle locale "KUR". Solution If locale "KUR" (code for macro-language "Kurdish") is provided, then use "CKB" (code for individual language "Central Kurdish") instead. If wrong locale or not managed by Babel, then use "en_US" as locale. opw-2416482 Forward-Port-Of: odoo/odoo#64301 Forward-Port-Of: odoo/odoo#64169