• Hi,
    Thanks for a useful plugin.

    I noted that the polyglots translation environment still doesn’t support translation of this plugin. Most probably this is because you have omitted the string domain (which should always match the slug of your plugin.

    Here are a couple examples:
    Change _x('Cookie Law Info', 'post type general name') into _x('Cookie Law Info', 'post type general name', 'cookie-law-info')
    Change __('Add New Cookie Type') into __('Add New Cookie Type', 'cookie-law-info')

    I’m not a developer myself (I just deal with translations into Swedish), so I may have missed something, but this is the thing most plugin and theme devs get stuck on.

    Perhaps the string domain needs to be declared in the .po/.mo files as well. But not necessarily, since the existing translations have already been imported to the translation handling system.

    Once this is done, polyglots will hopefully be able to translate your plugin into many different languages without you ever needing to touch the po-files again!

  • The topic ‘Enabling plugin translation via polyglots’ is closed to new replies.