Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Translations (.po files) not updating?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
v7translation
14 Replies
71628 Tampilan
Avatar
Juzu Operatzija

I have edited some of the .po translation files in addons directory, to fix a few missing translated words to my language, but it seems none of these changes are effective.

I have tried restarting OpenERP and rebooting the whole server, but to no avail.

What am I missing here? Do I have to update the module/addon somehow so that OpenERP updates the translation?

The OpenERP version I'm using is 7.0 and platform Ubuntu Linux 12.10.

13
Avatar
Buang
Juzu Operatzija
Penulis

Ok, I found that all translations are stored to database in 'ir_translation' table. While it would be convenient to somehow force the translation table to update from changed .po files, I resolved just to edit the necessary missing translations directly in database.

Searching for specific translation entry is actually faster using database search, than hunting it from the addons subdirectories and .po files.

Avatar
Levent Karakaş
Jawaban Terbai

After spending lots of time for struggling with exports, imports, updates, overwrites for a long time, this is how i manage to fix all empty/duplicated/not updated translation problems:

1) Stop odoo

2) Update all po files (in source folders)

3) Delete all translations from database (DELETE FROM ir_translation WHERE lang = 'tr_TR')

4) Run odoo with load language option. This will reload all po files from source folders back to database  (./odoo.py --stop-after-init --load-language=tr_TR -c odoo.conf)

5) Start odoo

And all translations are updated to latest...


4
Avatar
Buang
Bertrand RETIF

This procedure works for me. At step 4, you just have to to add database option ./odoo.py --stop-after-init --load-language=tr_TR -c odoo.conf -d

Aron Lorincz

I found that in some cases there're `#, fuzzy` lines in the .po files and then not all translations get updated.

Avatar
akram
Jawaban Terbai

Follow below steps:

1) Go to

Settings ‣ Translations ‣ Import / Export ‣ Export Translations

leave the language to the default (new language/empty template) # DO NOT CHANGE THIS

select the PO File format

select your module

click Export and download the file

2) Add your translation terms in the downloaded file. i.e. msgstr "" section depending on your translation language

3) change the filename to language_iso_code.po

e.g. for portugese => pt.po

4) create i18n folder under your module and add po file in it.

5) restart Odoo

6) Go to:

Settings ‣ Translations ‣ Load a Translation

select translation language (in my eg. Portugese)

make sure you check this : Overwrite Existing Terms

click LOAD.

DONE

5
Avatar
Buang
Avatar
Cyril Gaspard (GEM)
Jawaban Terbai

Hi,

for version6 (perhaps 7 too), to have the translation loaded for you modules with inheritance, you have to add in __openerp__.py line section :

'sequence': 150,

in fact, translations are read by sequence and by alphabetic order (lower to greater). Default value for sequence parameter (which you should not have add) is 100. And if you have a module beginning by a letter < first letter of module inherited, your translation will be read first and your modifications will not be used. Restart openerp server to valid modification naturally.

Bye

4
Avatar
Buang
Avatar
Ivica Dimitrijev
Jawaban Terbai

Although this is not a solution to your problem, a have chosen a different approach. I have a folder with all the .po files in my language. I have written a script to load all the po files in that folder. Here is the script:

#!/bin/bash

shopt -s nullglob
# Path and the list of files to import. 
FILES=/opt/openerp/mk_MK/*-mk.po
# Database in which to import the files.
DATABASE=openerp_db
# Language you are importing.
LANG=mk_MK

for f in $FILES
do
  echo "Processing $f file..."
  # take action on each file. $f store current file name
./openerp-server -d $DATABASE -l $LANG --i18n-import=$f --i18n-overwrite
done

I'm running my testing server on ubuntu 12.10

2
Avatar
Buang
Pascal Tremblay

Hey you! I like this post... Will try it soon. Thanks

Avatar
Bertrand RETIF
Jawaban Terbai

I get the same issue. All my updates in po files are not updated even if I restart the server with option -u all.

Did anyone find a solution?

2
Avatar
Buang
Avatar
Anton Chepurov
Jawaban Terbai

AFAIK, there was a design decision to be made: either to allow users to change translations from the GUI, or to always override user's translations with .po files.

Currently the tradeoff is made in favour of being able to manually change translations from the GUI.

See the corresponding bug report here: bugs.launchpad.net/openobject-server/+bug/1166776

If you don't need the ability to change translations from the GUI (Settings => Translations => Application Terms => Translated Terms), then you could apply the fixes proposed in the bug report and its comments.


Another solution is to manually re-import the changed .po file from Settings => Translations => Import/Export => Import Translation. In some cases the records imported this way may fail to have 'module' value set correctly (it may be empty), which prevents the translation from working properly. This can be fixed by setting the right module value from within PgAdmin.

2
Avatar
Buang
Avatar
Muhammed Aba
Jawaban Terbai

I tried so many method but i found really easy way to update po files.

First Step : Update your po files at backend.

Second Step : Go to Translations-> Languages and select another language then select activate button and switch the language. 

Last Step: Go again languages, select the language which you update , after all switch the updated  language then all updates will come on your database.   Easy peasy...

0
Avatar
Buang
Avatar
Nguyễn Văn An
Jawaban Terbai

For me just do like this and it works fine:
Settings / Languages / Manage Languages
In the language list click "Update" the current language does not update the new text.

0
Avatar
Buang
Avatar
Дмитрий Владимирович Лапушков
Jawaban Terbai

try to remove all tranlations like this

delete from public.ir_model_fields where model like 'your_module'

then update your module in odoo

0
Avatar
Buang
Avatar
Basmala Information Technology
Jawaban Terbai

 I am new to odoo and facing the exact same issue. I updated the .po files and I don't know to force odoo to ignore the cached translation/ir_translation and use the ones in po files. I will appreciate your kind help on this as I need to deploy it in many places so I can't just translate it from GUI all from the beginning for every deployment. Thanks!

0
Avatar
Buang
Avatar
Alp ŞEBER
Jawaban Terbai

I removed the rights for the specific module (which translation should be updated) from user, logoff/log in to check if the module removed succefully. 

After, I gave the same module again to the same user, logoff/login. 

Finally, I discovered the module rights just given above is coming with the updated translation. 

0
Avatar
Buang
Avatar
Gopakumar N G
Jawaban Terbai

Language Translation in OpenERP- Zesty Beanz Technologies Blog

0
Avatar
Buang
Avatar
bernscheinder
Jawaban Terbai

Hello,

I've the same problems, Transalation are finished in .po file and imported in openerp but all fielsd and words are not transale untill now!

any helps please

0
Avatar
Buang
Avatar
Thorsten Vocks
Jawaban Terbai

Several times i recognised to update base module before seeing the results of your modified .po files

  1. Go to Settings / Installed Modules
  2. In search field enter "base" as a filter
  3. Open "base" module in form view
  4. Click on upgrade

This should load and update all .po files, because all addons have base as minimum requirement (dependency).

-2
Avatar
Buang
Yannick Payot

This loads all Translation but old translations will be in some sort of cache. The only way I know to be sure all your translations are updated is be restarting the server.

Juzu Operatzija
Penulis

I tried this (upgrade base module) but changes to .po files did not update. Uninstalling and re-installing a module does seem to update some of .po translations, but not all of them.

I have gotten around the .po files translation problem by using the builtin 'Technical Translation' -feature which is available in developer/debug mode. I assume, that OpenERP stores the translations done in debug/developer mode into the database? I wonder if there is any way to refresh the translation cache in database.

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Impossibile to translate string
v7 translation
Avatar
0
Mar 15
5349
Changing module translation v7
v7 translation
Avatar
Avatar
1
Mar 15
6751
Update translation v7
v7 translation
Avatar
0
Mar 15
4561
How to show translated terms?
v7 translation
Avatar
Avatar
1
Mar 15
9956
Why translation not working for ZIP, State and City in openerp7? Diselesaikan
v7 translation po
Avatar
Avatar
Avatar
2
Nov 18
8192
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now