跳至內容
選單
此問題已被標幟
3 回覆
2110 瀏覽次數

I try to change the label on the SIGN IN button for the portal.

I have created the below mentioned po file for German an Spanish. The only thing that differs is the Language setting in the spanish file. I changed that to es_ES.

I than uploaded that to ODOO using import language.

Here is my issue: This works for German, but not for Spanish. The text is not changing....
In the import dialog I added the language and set "Overwrite" as well

Any ideas?



msgid ""

msgstr ""

"Project-Id-Version: Odoo 17\n"

"Report-Msgid-Bugs-To: \n"

"POT-Creation-Date: 2024-04-23 15:16+0000\n"

"PO-Revision-Date: 2024-04-23 15:16+0000\n"

"Last-Translator: \n"

"Language-Team: \n"

"MIME-Version: 1.0\n"

"Content-Type: text/plain; charset=UTF-8\n"

"Content-Transfer-Encoding: \n"

"Plural-Forms: \n"

"Language: de_DE\n"


#. module: portal

#: model_terms:ir.ui.view,arch_db:portal.user_sign_in

msgid "Sign in"

msgstr "Portal"

頭像
捨棄
作者 最佳答案

Hello you two. Thank you for the reply.

Yes, I used the wizzard. For German it works perfect, but for Spanish (same method) it does not work. Is there any kind of priority you need to set?

Oliver

頭像
捨棄

Normally it should work the same.
Can you just confirm that the actual Spanish you're using in your database is "Spanish / Español" (es_ES) and not any Latin American Spanish? Because they are using a different base from 17.0.

最佳答案

Hi,

If you are trying to set the  translation for your custom module, you can set it from

Enable debug mode -> settings -> Translation -> export translation 


Then you can choose the language from it, and select your module to add translation


Replace the language with the language in which you need to translate and export the file.

Afte exporting a PO file will be generated, Inside that file you can make changes for the fonts that you need to add translation, after add translation you can import the saved files from settings -> translations-> import translation Or you can add the file in your custom module /custom-module/i18n/.po


Hope it helps

頭像
捨棄
最佳答案

Did you import the .po file using the "Import Translation" wizard? (see screenshot)

If so, did you set the "Code" in this wizard to "es_ES" as well?
Also, are you using the "Spanish" (es_ES) language in your database, or any of the Latin American Spanish languages?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
7月 24
6499
2
7月 24
2198
4
6月 24
25023
1
2月 24
2477
2
5月 23
4813