WordPress.org

Ready to get started?Download WordPress

Forums

Codestyling Localization
[resolved] Separately translating plugins that have the same textdomain (3 posts)

  1. Matty Cohen
    Member
    Posted 2 years ago #

    Hi guys,

    Firstly, thanks for the great plugin. We've found it to be incredibly useful and time-saving when updating translation files across themes.

    We've recently stepped into using the plugin for translating strings in our plugins and have run into a small speed bump.

    Using the latest versions of WordPress and the plugin, when two plugins share the same textdomain, only the first plugin is listed with the language options to the right of the list, with the other plugins being grouped under that plugin, due to the shared textdomain. I've tested this by adjusting the textdomain in one of the additional plugins, which resolved the issue.

    Is it possible, without changing the textdomain per-plugin, to "ungroup" the plugins and translate them separately using CodeStyling Localization?

    Thanks guys. We'd really appreciate your assistance in this regard. :)

    Thanks and regards,
    Matty.

    http://wordpress.org/extend/plugins/codestyling-localization/

  2. codestyling
    Member
    Plugin Author

    Posted 2 years ago #

    it's not intended to support "ungrouped" handling, because 2 plugins should not have the same textdomain.
    Reason: depending on their load order and lets say both have the same term but with different translations, you will get only one of this translations and never see the 2nd.

  3. Matty Cohen
    Member
    Posted 2 years ago #

    Hi codestyling,

    Thanks for clarify this.

    Thanks and regards,
    Matty.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic