Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
638 Visualizzazioni

I am writing a website module to mainly add new pages.

I am able to add pages, then translate them via the UI, and export the translations but I am unable to successfully use these files (PO) in my module so that I can use my module directly in a database without needing to re-translate the pages - they are always showing in English for both languages.

Does anyone have a sample module they can share?

Avatar
Abbandona
Risposta migliore

See my example online at https://github.com/ray-odoo/website_module_translated


To use:

1) Create a new database

2) Install the Website App

3) Visit Website --> Configuration --> Settings

     A) Install the Spanish language (Spanish / Español)

     B) Add Spanish to the list of Website Languages


    

4) Install the Sample Theme

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
feb 25
679
1
gen 25
1033
0
nov 24
687
1
lug 24
3599
1
mar 15
2996