Skip to Content
Menu
This question has been flagged
5 Replies
3850 Views


Hi,

I can not find the translation of my products name in the ".po" file. I am exporting the inventory related ".po" file in

translations --> export/import --> select inventory

At the end what I want is to import 2000 product translations and I am trying to fin a way to do no it manually.


thanks,

Amadeo.


Avatar
Discard
Best Answer

I think you are looking for product translation. If yes, you should look for Product instead of inventory.

Avatar
Discard

Euhh product data is not in po files?

Author

I can not find the products in produt ".po" file.

Where are the product data????

Best Answer

If you export the translations for the "product" module ("Products and Price Lists") you should get a file named something like en_GB.csv which contains two records for each product (one for Product.Template, one for Product.Product)

  • name = product.template,name  

  • res_id contains the ID for the product  (product.product_product_25_product_template)

  • src is the original name

  • value is the translation

  • name = product.product,name 

  • res_id contains the ID for the product (product.product_product_25)

  • src is the original name

  • value is the translation

This is an extract from the .po file:

#. module: product
#: model:product.product,name:product.product_product_25
#: model:product.template,name:product.product_product_25_product_template
msgid "Acoustic Bloc Screens"
msgstr "Acoustic Blocking Screens"

Avatar
Discard
Author

Dear Chris,

thanks for your reply.

The products names and translatios are not in the ".po" file of the "product and price list" module. Are you sure that in Version 13 are there????????

Thanks,

Amadeo.

I tested it in one of the demo databases (v13) and it all worked fine. I added UK English as a language and then entered one translation manually and then downloaded the file. All the products are in the file, together with the one "translation" I did manually.

Author

Please Chris, can you send to me the file???? I do not know what I am doing worng. I have created 3 products but I can not fin them in the file. Please sen to me the file to see if we are looking in the same file.

Author

Dear Chris, thanks for your time!,

I see that your products are in "product.product,descri...." but I can not find any text chain starting with "product.product,desc..." or with "product.product," in my ".po" file as you will see:

https://drive.google.com/file/d/1hUzGevA_w_DfU5yA4kwzbyRVPrYIwDGW/view?usp=sharing

Ihave three product created in my database. as you can see en the next image:

https://drive.google.com/file/d/1mtJhPh4Odc1ghB2z6wCtNtJ_0bJA2XUz/view?usp=sharing

Also I have the translations done for English.

What can be happing?????? I can't believe that...

Thanks,

Amadeo.

I tried it again in Odoo 13 Community Edition on this Runbot: http://765156-13-0-914d4f.runbot15.odoo.com/web and got the same result as in Enterprise on the demo db.

Author

Thanks Chris, I am going to investigate what is happening !

Again thanks for your time.

Regards, Amadeo.

Author

Dear Chris,

I Think that th ".po" file does not have the translation of the products. I can not find all the products neither in the file from the runbot.

I have the translations of the product in the table "ir_translation" but not in the .po file.

Thanks for your help again,

Regards,

Amadeo.

Related Posts Replies Views Activity
0
Dec 19
4
2
Mar 24
1432
1
Feb 22
995
5
Nov 21
10805
1
Mar 17
2162