Translation
-
HI,
Im trying to apply the translation to Spanish of your plugin (I did translate the .mo file, if you want it i can send it on to you). But now i cant seem to be able to make it to be seen on the front end or the backend.
I guess this is the function (in the public/class-idea-factory.php folder) that does the job:
public function load_plugin_textdomain() {
$domain = $this->plugin_slug;
$locale = apply_filters( ‘plugin_locale’, get_locale(), $domain );$out = load_textdomain( $domain, trailingslashit( IDEA_FACTORY_DIR ). ‘languages/’ . $domain . ‘-‘ . $locale . ‘.mo’ );
}and I echoed the $domain $locale $ and $out and those variables seems to be working properly, but still now showing my mo file which i renamed as idea-factory-es_ES.mo
Can you please help me?? I need your plugin, it is so good, and it serves very well for my idea on my wedding website.
Thanks
Kind regards
- The topic ‘Translation’ is closed to new replies.