Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3264 Представления

How can I a new language in Odoo using i18n folder and .po file. 


Thanks in Advance.

Аватар
Отменить
Лучший ответ

Hi,

Try refer the following tutorial link.

https://www.cybrosys.com/odoo/odoo-books/odoo-15-development/ch8/

Create a .csv file named res.lang.csv under data directory for adding new language to odoo.

 Eg : Adding Icelandic.

"id","name","code","iso_code","direction","grouping","decimal_point","thousands_sep","date_format","time_format","week_start"
"base.lang_isk","Icelandic / íslenska","is","is","Left-to-Right","[]",",",,"%d-%m-%Y","%H:%M:%S","7"

Activate Language from Settings

Export po file for adding translation

Go to Translations >> Export Translation under settings and select the language from the window and download the po file then add translated terms to the po file 

Add po file under i18n directory

Regards

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
сент. 25
1977
1
июн. 25
2006
3
июл. 25
3585
1
мая 25
1714
4
мая 25
3057