Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
2276 Zobrazení

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"

Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit

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.

Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
čvc 24
6647
2
čvc 24
2578
4
čvn 24
25261
1
úno 24
2687
2
kvě 23
4905