Doesn't recongnize my text domain
-
Hi!
First, I have to say. THis is f** awesome!
From the name to the UI.Really, i’m very impressed.
Well, i’m having a very basic problem, and it is with string translation.
I created my own text domain and when I have to echo some words in the theme template or so, i’m doing it with _e(‘My text here’, ‘texdomain’);
Then, I put in my functions.php
load_theme_textdomain(‘textdomain’, get_template_directory());
and this is being called in the ‘after_theme_setup’ hook.
I even installed codestyling localization (fear of breaking my site because it hasn’t been update in 2 years ?? Apparently, it was vey well built. Backup up made, anyway ?? lol ), and it recognizes my textdomain AND all the sentences I want to translate.
Oh btw. My PO and MO are in my native lang (pt_BR), both reconized by Codestyling Localization.
But when I open the ‘wp-admin/options-general.php?page=mlang&tab=strings’ I got only ‘wordpress’s text domain sentences.
I’m very sorry for disturbing, and I have indeed searched a lot before asking, but I’m in a dead end here.
Anyway, the rest of the translations work fine. If you have no solution for this, I’m gonna make every sentence edditable via custom fields, cause they are being beautifully translated
Thank you again, and sorry for bad english ??
- The topic ‘Doesn't recongnize my text domain’ is closed to new replies.