Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
2205 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang

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.

Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
4
Jul 24
6611
2
Jul 24
2444
4
Jun 24
25164
1
Feb 24
2583
2
Mei 23
4860