How to override a core translation in one theme ?

Le-Gritche

Joined: 2005-11-30
Posts: 1
Posted: Wed, 2005-11-30 20:30

Hello,

After having created my custom theme, i want to customize some words or expressions that are already translated in the core .mo.
For example, in my case, "add items" is translated in French into "ajouter des éléments" in the module/code/po/fr_FR.po. But i want to translate it into "ajouter des images" in my custom theme (i don't want to modify the default translation).

I have tried to add this translation in my <my-theme>/po/themes_<my-theme>.po and compiled it, but nothing has changed. I'm sure that my custom translation works, because the translation works well when i add expression that not exists in the core .po .

So is it possible to override the core language translation with a custom theme translation ?

Thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-12-01 04:08

no, you can't override core module translations in a theme.

you can edit the po file in modules/core/ for your language and make (compile) it there. but the theme can't override the core translations.