Inline translation in Magento

Featured Image

If you need translations for your site but translation packs are not fully translated, then inline translation is very nice feature.
In this post I will cover entire process for inline translation in Magento.

So I assume that you already instaled your language packs, and that you created diferent store views for diferent languages.
Next step is to go to Magento admin/system/configuration/developer.

There you must do two things:

  • from current configuration scope select desired store view on witch the inline translation will be aplied
  • apply inline translation for that desired store view

Inline translation steps

Next step is to go to the frontend and select desired language from the dropdown. Red rectagle strokes around text will apear and when you hover it the little book icon will apear. Just click on the icon and insert desired text.

Here is how to:

Inline translation step 2

All translations that are been made by inline translation are stored in database in shop_core_translate table. If you move magento from server to server you need to export this table and import it when you configure your mysql database on another server.

25
Top

Care to rate this post?

Author

Filip Svetlicic

Project Manager/Frontend Developer

Filip is Project Manager/Frontend Developer who enjoys working on complex and innovative projects where he can combine his energy, motivation and expertise.

Other posts from this author

Discussion 25 Comments

Add Comment
  1. Isn’t it better to edit the translate text as normally, even if Modules are not 100% translated the developer use __(‘bla bla’) and all we need is to add the default text as a new line in the localized file and enter the localized text?

    I do this as I fell safer that reading from DB.

    I had problems that I localized using this feature and some strings were not localized :-(

    arghhh… Magento… why r u so difficult! ;-)

  2. Chicba

    Hi Bruno
    you are right but sometime this is impossible.

    Thanks

  3. Nice tutorial and easy to undertand. This is really a great help to people still starting to use Magento, and its not really that hard to do.

  4. Why doesn’t wok inline transtrate for ADMIN Pannel ?
    (Not Frontend)

    How to inline transtrate for ADMIN Pannel?

  5. @cobay admin inline translation : backend -> configuration -> default config -> developer -> Enabled for Admin = Yes

  6. asmrussel

    we create some custom website,store,and store view but magento inline translation in admin panel could not render it properly.
    would you plz tell me where is the problem

  7. Grollaz

    I have edit one string with inline translation, now how i can delete one inline translation tu use the standard text file translation?

    Thanks.

  8. @Grollaz

    Strings that are translated with inline translation as an option are stored in database->core_translate table. Delete the string from database.

    Cheers!

  9. Grollaz

    There isn’t any other method to delete the custom string but from admin?
    thanks.

  10. wisp

    My customer has made inline translations on the dev site, but now I can’t get those translations working on the live site. I’ve copied all the rows inside core_translate table, refreshed the cache, but still nothing. Argh I hate how Magento makes simple tasks take up days of hard work and frustration,,

  11. Cao Filipe,

    i pored toga sto sam ispratila celu proceduru, ne uspevam da izmenim tekst na sajtu. Htela sam da te pitam u cemu je problem. Hvala

  12. Now the translation are stored in database in core_translate not shop_core_translate

    thx

  13. Max

    Goodday beautiful people. Please can someone help in how to translate “success messages” in magento? Inline or cvs translation is not working. The Inline and cvs translation is working on other labels but not on success and validation messages. Example: XXXXXX has been added to your wishlist. Click here to continue shopping

    Best Regards

  14. We can translate the 98% words using inline translation. Now we are not able to translate pop-up windows, and selections. Try to edit the template theme, but can not know where to change.

  15. alice

    Anyone ever see the %s part of the label actually show up on the frontend? I’m getting that in my shopping cart now: %s was successfully added to your shopping cart.

    I’ve tried adding translate.csv files, looked for it in the db. Would appreciate any ideas on what might work to fix it.
    Thanks!

  16. This excellent tutorial i have ever read, clear and understandable.
    I have a question on how to translate the footer and category list.
    thanks in advance for whom would help!

  17. Rik

    After using inline translation my footer links go weird (e.g. {{{Site Map}}{{Site Map}}{{Site Map}}{{Mage_Catalog}}}{{{Search Terms}}{{Search Terms}}{{Search Terms}}{{Mage_CatalogSearch}}}{{{Advanced Search}}{{Advanced Search}}{{Advanced Search}}{{Mage_CatalogSearch}}}{{{Orders and Returns}}{{Orders and Returns}}{{Orders and Returns}}{{Mage_Sales}}} ) – any ideas?

  18. Matt

    Same problem as RIK here. We need help. I googled already, but nothing

  19. sara

    I have the same problem with rik.. any ideas anyone?

  20. Matt

    I am still having this problem as RIK. Nobody in the world knows the answer:(

    I have the red dots but the book does not appear!!!!!!!

  21. munyah

    @sara, @matt, @rik I had that issue once and just cleared all caches and it was sorted.

  22. Matt

    @munyah

    well this did not do the trick. Now we disabled the modules and uploaded new css but still this problem remains ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

  23. Hey guys, refreshing your browser cache and your magento cache worked for me once! Switch inline translate on and off as well as you flush cache.

    Now does anyone know why I can’t inline translate normal text on my site…? Specifically under “BS Points” on the checkout page. I swear I can translate every other piece of text except that one.

  24. peter

    Hej,

    did anyone fix the problem “Rik” has a year ago?
    I have it now ;/ Magento 1.7.0.2 a German version. I activated “inline translation”. (Caches were disabled) and since then no chance to got the interface. No User-Interface no Admin-Interface – just the weird footer (as admin) ({{Site Map}}{{Site Map}}{{Site Map}}{{Mage_Catalog}).
    Any ideas?
    Thanks in advance,
    -peter

  25. Hi,

    The DEVs at the office have been debating if inline translation was better than file. We cannot come to acceptable conclusion, anyone can help here?

    Some say that inline translation (reading form DB) can slow down the site?

    Any comment is appreciated :-)

Add Your Comment

Please wrap all source codes with [code][/code] tags.
Top