• Hi,
    Being one of the translation editors for Swedish, I noted some pending strings for this plugin from you (as in @onthemapmarketing )

    As I tried to understand how one of the strings is used, I happened to look at https://plugins.trac.www.ads-software.com/browser/otm-accessibly/trunk/accessibly-plugin.php and noted a couple of problems.
    1. In order for translations made at https://translate.www.ads-software.com/ to work with your plugin, you need to declare (and use) your plugin slug (otm-accessibly) as text-domain.

    Here you’re declaring “accessibly”, but in the code you either don’t include any text-domain, as in $settings_link?=?"<a href='$url'>"?.?__('Settings')?.?'</a>'; or change the element order of the textdomain, as in add_menu_page(__('Accessibly App',?'accessibly-otm'),?__('Accessibly App',?'accessibly-otm'),?'manage_options',?'accessibly-otm',?'accessibly_otm_admin_page',?'data:image/svg+xml;base64,'?.?base64_encode($accessiblyIcon),?100);

    It also looks as if several strings aren’t made available for translation, for instance in

      if?($userData)?{
            $otmAcScriptData?=?[
                'showZoom'?=>?in_array("bigger_text",?$userData["features"]),
                'showCursor'?=>?in_array("bigger_cursor",?$userData["features"]),
                'showInvertColors'?=>?in_array("invert_colors",?$userData["features"]),
                'showContrast'?=>?in_array("contrast",?$userData["features"]),
                'showGrayScale'?=>?in_array("grayscale",?$userData["features"]),
                'showBrightness'?=>?in_array("brightness",?$userData["features"]),
Viewing 1 replies (of 1 total)
  • Plugin Author On The Map Marketing

    (@onthemapmarketing)

    Hi Tobi,

    Thank you for your notes! We have created an internal ticket and will take care of this. Again thank you, we will let you know in case we have any questions here.

    Best,
    Accessibly team

Viewing 1 replies (of 1 total)
  • The topic ‘Would you like to make translations of your plugin work?’ is closed to new replies.