Title: codestyling's Replies | WordPress.org

---

# codestyling

  [  ](https://wordpress.org/support/users/codestyling/)

 *   [Profile](https://wordpress.org/support/users/codestyling/)
 *   [Topics Started](https://wordpress.org/support/users/codestyling/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codestyling/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codestyling/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codestyling/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codestyling/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codestyling/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 286 total)

1 [2](https://wordpress.org/support/users/codestyling/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codestyling/replies/page/3/?output_format=md)…
[18](https://wordpress.org/support/users/codestyling/replies/page/18/?output_format=md)
[19](https://wordpress.org/support/users/codestyling/replies/page/19/?output_format=md)
[20](https://wordpress.org/support/users/codestyling/replies/page/20/?output_format=md)
[→](https://wordpress.org/support/users/codestyling/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Codestyling Localization] Translating of Woocomerce plugins doesn't show up](https://wordpress.org/support/topic/translating-of-woocomerce-plugins-doesnt-show-up/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/translating-of-woocomerce-plugins-doesnt-show-up/#post-3975169)
 * What language do you have defined, your WordPress has to run on within the wp-
   config.php?
    Could you explain more precisely, what isn’t working?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Codestyling Localization] False alert for load_textdomain](https://wordpress.org/support/topic/false-alert-for-load_textdomain/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/false-alert-for-load_textdomain/#post-4000316)
 * This is not a false alert.
    Here the code snippet from actual “Contact Form 7”
   code version 3.4.2:
 *     ```
       function wpcf7_get_contact_form_default_pack( $args = '' ) {
       	global $l10n;
   
       	$defaults = array( 'locale' => null, 'title' => '' );
       	$args = wp_parse_args( $args, $defaults );
   
       	$locale = $args['locale'];
       	$title = $args['title'];
   
       	if ( $locale && $locale != get_locale() ) {
       		$mo_orig = $l10n['wpcf7'];
       		unset( $l10n['wpcf7'] );
   
       		if ( 'en_US' != $locale ) {
       			$mofile = wpcf7_plugin_path( 'languages/wpcf7-' . $locale . '.mo' );
       			if ( ! load_textdomain( 'wpcf7', $mofile ) ) {
       				$l10n['wpcf7'] = $mo_orig;
       				unset( $mo_orig );
       			}
       		}
       	}
       ```
   
 * As can be seen, it uses indeed:
    `load_textdomain( 'wpcf7', $mofile )`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Admin Bar diasppeared as you said, but i didnt got the explanation….](https://wordpress.org/support/topic/admin-bar-diasppeared-as-you-said-but-i-didnt-got-the-explanation/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/admin-bar-diasppeared-as-you-said-but-i-didnt-got-the-explanation/#post-3846744)
 * The downloadable version at _ru.wordpress.org_ doesn’t contain this _ru\_RU.php_
   anymore.
    The downloadable version at _tr.wordpress.org_ contains a _tr\_TR.php_
   file but it doesn’t raise any issues with my plugin in version 1.3.11
 * not reproducible, closed.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WP Native Dashboard] My WordPress site can't open.](https://wordpress.org/support/?post_type=topic&p=7781573)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/?post_type=topic&p=7781573#post-7781688)
 * This bug was related to a change hook calling order by WordPress 3.6 final. It
   has been resolved with plugin version 1.3.11 and higher.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] options page is not working](https://wordpress.org/support/topic/options-page-is-not-working/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/options-page-is-not-working/#post-3870737)
 * if this is still actual, please provide a list of installed/active plugins. if
   not this get closed as solved within next couple of days.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Language doesn't change for plugins](https://wordpress.org/support/topic/language-doesnt-change-for-plugins/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/language-doesnt-change-for-plugins/#post-3597662)
 * The problem is, that the plugin “Duplicator” loads the translation file during
   it’s load phase and not during the initialization phase of WordPress. So no other
   plugin has the chance to change globally languages in between cause it takes 
   the one from wp-config.php always!
 * I have change the file “duplicator.php” (v0.4.6) line 226/227 and disabled the
   loading here:
 *     ```
       //HOOKS
       //load_plugin_textdomain('wpduplicator', FALSE, dirname(plugin_basename(__FILE__)) . '/lang/');
       ```
   
 * After disabling the loading in such a unreliable way I did insert after the disabled
   line:
 *     ```
       add_action('init', 'duplicator_load_textdomain');
       function duplicator_load_textdomain() {
            load_plugin_textdomain('wpduplicator', FALSE, dirname(plugin_basename(__FILE__)) . '/lang/');
       }
       ```
   
 * So loading will be performed during init hook of WordPress. Now all works as 
   expected with the “Duplicator” plugin. Please inform the author of this plugin
   to implement a correct hook based loading of translation files to permit other
   plugins choosing right languages etc.
 * **Important**: Most cases where plugins doesn’t get translated well are driven
   be the wrong time the translation file gets loaded. The plugin authors should
   load them as late as possible (this also safes the ammount of memory used, if
   the plugin never performs an action to produce the current requested page – front
   or admin)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] custom post types](https://wordpress.org/support/topic/custom-post-types-85/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/custom-post-types-85/#post-3920965)
 * You will need to support a own language file loaded by your plugin/theme introducing
   the new custom post type. Translate your i18n based phrases within you custom
   post type and create your mo file.
    After all you will get translated custom 
   post types too.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Checking the repository doesn't work in 3.5.2](https://wordpress.org/support/topic/checking-the-repository-doesnt-work-in-352/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/checking-the-repository-doesnt-work-in-352/#post-3934994)
 * I would suggest to ask the polyglot list about.
    As far as I know, the file creation
   should be automatic and should generate it at wp.org backends. But it may have
   been changed.
 * So this may lead to an alternative way getting the file(s):
    – my plugin has 
   to validate the availability of wordpress install zip – list all possible zip
   based languages – download and extract of lang files contained.
 * I have to think about this in terms of speed and reliability.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Deprecated function split() / Strict Standards error](https://wordpress.org/support/topic/deprecated-function-split-strict-standards-error/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/deprecated-function-split-strict-standards-error/#post-4003972)
 * Will be changed with next updates. Good catch.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] File not found](https://wordpress.org/support/topic/file-not-found-8/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/file-not-found-8/#post-4003619)
 * Seems to be a bug within WordPress.org packaging system.
    Will try to solve it
   incrementing with no changes to version 1.3.12.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Bug](https://wordpress.org/support/topic/bug-34/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/bug-34/#post-3864173)
 * Seems to be a bug within WordPress.org packaging system.
    Will try to solve it
   incrementing with no changes to version 1.3.12.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Checking the repository doesn't work in 3.5.2](https://wordpress.org/support/topic/checking-the-repository-doesnt-work-in-352/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/checking-the-repository-doesnt-work-in-352/#post-3934991)
 * The compatibility issue has been fixed at version 1.3.11
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] global $wp_admin_bar coming up null](https://wordpress.org/support/topic/global-wp_admin_bar-coming-up-null/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/global-wp_admin_bar-coming-up-null/#post-3963893)
 * The compatibility issue has been fixed at version 1.3.11
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Broken on 3.6](https://wordpress.org/support/topic/broken-on-36/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/broken-on-36/#post-3985511)
 * The compatibility issue has been fixed at version 1.3.11
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Native Dashboard] Upgrade to 'Oscar' Broke my site due to this plugin](https://wordpress.org/support/topic/upgrade-to-oscar-broke-my-site-due-to-this-plugin/)
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/upgrade-to-oscar-broke-my-site-due-to-this-plugin/#post-3986287)
 * The compatibility issue has been fixed at version 1.3.11

Viewing 15 replies - 1 through 15 (of 286 total)

1 [2](https://wordpress.org/support/users/codestyling/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codestyling/replies/page/3/?output_format=md)…
[18](https://wordpress.org/support/users/codestyling/replies/page/18/?output_format=md)
[19](https://wordpress.org/support/users/codestyling/replies/page/19/?output_format=md)
[20](https://wordpress.org/support/users/codestyling/replies/page/20/?output_format=md)
[→](https://wordpress.org/support/users/codestyling/replies/page/2/?output_format=md)