Hello,

Themes, which are propperly prepared with gettext functions _t(),
_n(), _e() and _ne() can be translated by creating following
directories in the theme directory:

  ==> <theme-name>/locale/<language code>/LC_MESSAGES

And than create the language catalog (mo file) and save it as
theme-name.mo int the new LC_MESSAGES directory


The charcoal theme has graphics with english texts!
Wouldn't it a nice way for localizable graphics to put the localized
graphis in a new direcotry:

  ==> <theme-name>/locale/<language code>/images

And if there is an image in the locale directory for the appropriate
language, this one can be used instead of the image in
<theme-name>/images.

This kind of localization could be used for each file-type. A theme
function like _f( 'images/graphic_01.png' ) could return
'locale/<language code>/images/graphic_01.png' ....

What do you think about this idea?
If you deliver a theme (charcoal) with habari, which uses graphics
with english texts ... these should also be localizeable, like the
texts in the theme itself!

cu, helpy

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to