Issue translating theme
-
Hello
I am trying to translate theme andreas09 for a website I am doing for my father.
I followed tutorials on Internet all saying the same, and at the end I do not have translation.First : my WPLANG is wp-config is fr_FR.
Now I did this
1. Install the plugin
2. Create folder lang in the plugin that does not exist
3. Scan : I obtained the po file for french with the content scanned from the plugin
4. Translate some examples
5. Generate .mo file
6. Try to refresh the page … nothing translated in the public website.Note : I installed the plugin NexGen gallery and the plugin for localization is telling me
PHP runtime error reporting detected !
Reason: some executed PHP code is not written proper | Originator: inconnu (probably by Theme or Plugin)
Below listed error reports has been traced and removed during page creation:STRICT Error: [2048] Declaration of C_DataMapper_Driver_Base::define() should be compatible with C_Component::define($context = false) /home/edelmott/www_wp/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/datamapper/class.datamapper_driver_base.php on line 0
STRICT Error: [2048] Declaration of C_Lightbox_Library_Mapper::define() should be compatible with C_CustomPost_DataMapper_Driver::define($object_name, $context = false) /home/edelmott/www_wp/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/class.lightbox_library_mapper.php on line 7Could it block any translation ? If not, what did I miss in the configuration ? in the theme, I checked, the content is given like this for example
<h1 class=”pagetitle”><?php printf(__(‘Archive for the ‘%s’ Category’, ‘andreas09’), single_cat_title(”, false)); ?></h1>
So it means it is ready for translation no ?
Thanks for your help
- The topic ‘Issue translating theme’ is closed to new replies.