Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
268 Tampilan

Hi everyone, I hope you're all doing well.

I'm having an issue with translating the Shop page on an e-commerce website using Odoo 18. Unlike other pages like Home or Contact Us, the translation doesn't seem to work properly for the Shop page.

I’d really appreciate your help - if anyone knows how to translate this page like the others, please let me know.

Thank you so much for your help!

Avatar
Buang
Jawaban Terbai

Hey! Yeah, this is a common issue in Odoo, especially with the Shop page since it's dynamically generated using templates and controllers, not static content like Home or Contact Us.

‎Here’s what you can try:

‎1. Enable Developer Mode

‎Go to Settings → Activate Developer Mode. This will allow you to access the translation features more deeply.

‎2. Use the Translation Feature

‎Navigate to the Shop page while logged in as admin. Then click the “Translate” icon (usually a globe or pencil icon) on the top bar or hover over the text you want to translate. Odoo lets you manually input translations this way.

‎3. Check Translatable Views

‎Go to Settings → Technical → User Interface → Views. Search for templates related to the Shop page (like website_sale.products). Open them, and make sure fields you want to translate are marked as translatable.

‎4. Update Translation Terms

‎Go to Settings → Translations → Translated Terms. Search for the original text (e.g., "All Products" or "Add to Cart") and make sure translations are added for your desired language.

‎5. Export & Import PO Files (Optional)

‎For more control, you can export the translation PO files, translate them offline, then re-import them. Go to Settings → Translations → Import/Export.

‎6. Clear Cache & Restart

‎After making changes, clear your website cache and reload the page. Sometimes translations don’t show up until the cache is cleared.

Avatar
Buang