Support » Plugin: Codestyling Localization » Can only translates theme, not wordpress

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author codestyling


    All texts mapped to textdomain “default” have to be inside the WordPress main translation file. Mostly this is a bug by the plugin authors, if the use texts not contained at WordPress main file.
    Even if they would be contained inside the plugins file, they won’t be used, cause the textdomain used in PHP code forces to lookup within the WordPress file instead of looking up inside the plugins file.

    So i didn’t allow to translate such mistakes, cause even if translated they won’t be shown (except they are already inside WordPress core).
    Please contact the plugin author about that, he/she has to repair that.

    Does this help answer your question?

    Aren’t you the plugin author?

    Plugin Author codestyling


    Yes, I’m the author of “Codestyling Localization” but what is the relation to your inital question related to a Theme and it’s translation?

    I translated the words in the theme and it is ok. Now I’m trying to translate the words related to wordpress and it doesn’t work even though I’m doing the same procedure.

    Maybe this has something to do with it:
    Scripting Guard [ details ] The Plugin Codestyling Localization was forced to protect its own page rendering process against 1 incident !

    Plugin Author codestyling


    No it has not. Did you really translate the WordPress itself or the words found inside theme shown as “default”?
    Words related to WordPress within a theme can’t be used at all. Only if the WordPress main file contains it, it will appeare. If not, you will never get a translation for those words out of a theme even if they would be packed into the themes file.
    If a theme author is using the “default” textdomain, this is a bug within the theme.

    Ok, thanks for the help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can only translates theme, not wordpress’ is closed to new replies.