You're on the right track maintaining the same directory structure as
used for the main locales, but your translation file isn't being
loaded. I'm not sure if this will work, but you can try inserting the
following in the theme's theme.php file to load your translation file:
public function action_init_theme()
{
Locale::load_pluggable_domain( 'habari',
Site::get_dir( 'theme' ) );
}
If the theme already contains an action_init_theme function, just
insert the line into that function.
Rick
On Sep 4, 7:18 am, dh <[EMAIL PROTECTED]> wrote:
> Hello guys,
>
> I am trying to use the localization i created with POEdit for sd's great
> theme Lace. I already have the po and mo files but i am not 100% sure
> where i have to put them and what names these files should have.
>
> I tried the same folder structure as for the habari core translation:
> - user\themes\lace\locale\de-de\LC_MESSAGES\files-are-here
>
> The po and mo files are called
> - habari.mo
> - habari.po
>
> But that doesn't work. What do i do wrong?
>
> I am running habari 0.5 and 0.6-alpha (tried on both) with locale set to
> "de-de" through the admin interface.
>
> Thank you for your help!
> dh
--~--~---------~--~----~------------~-------~--~----~
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-users
-~----------~----~----~----~------~----~------~--~---