Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3324 Vizualizări

Good morning,

I am using Countdown widget in Website module in Odoo 14. I cannot find way to translate terms like 'Days', 'Hours', 'Minutes', 'Seconds' and so on... I tried with Customize--> HTML/CSS/JS Editor. I tried also with generating missing translations and exporting translations with modules called similar to website and nothing... 

Do You have any idea how to translate those terms?

Imagine profil
Abandonează
Cel mai bun răspuns

Hello jan banda

To Translate missing terms you can follow this steps:
Go to settings  --> Translations --> export Translation 
Then select your language,file format(po file) and apps to export(website)

After clicking on export button you will get one PO file which having all your website terms.
So you can update you missing terms in msgstr = " "  and then you need to save this file as language_code.po format.
Ex : for Arabic i will save file as ar.po

Then add this update file into your custom module on i18n folder and after installing module you can see updated terms.

Hope this will help
Thanks

Imagine profil
Abandonează
Autor

Husain, thank You for help but I wrote that I tried with exporting translations. I can't find words like 'Days', 'Minutes'... Did You tried translate those words?

After exporting .po file i am able to get terms(Days,Minutes,Seconds) and i can translate with update .po file in my module.

Autor

I have no idea, how You translated those terms.. I tried with many modules, also with arabic language and I didn't find those terms. I know I am asking a lot, but can You provide some screenshots which shows how You did it, please?

Related Posts Răspunsuri Vizualizări Activitate
1
dec. 22
6616
0
apr. 22
2201
0
feb. 25
1123
1
ian. 25
2004
0
nov. 24
1146