Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
2042 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar

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.

Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
jul 24
6452
2
jul 24
2141
4
jun 24
24960
1
feb 24
2430
2
may 23
4749