• Resolved Alex Lion (阿力獅)

    (@alexclassroom)


    1. This plugin’s slug is missing-menu-items, but the current Text Domain is reusable-menu-items. Change the current Text Domain so it is equal to this plugin’s slug and modify the text domain in all your source files. This change is needed, please refer to this article.
    If there are strings in your plugin that are also used in WordPress core (e.g. “Settings”), you should still add your own text domain to them, otherwise they’ll become untranslated if the core string changes (which happens). Please refer to this article.

    2. This plugin made several useful menu items under the Appearance, but these menu items’ name should be able to translatable.
    ea-missing-menu-items.php, line 42, 43

    __( 'Reusable Blocks', 'missing-menu-items' ),
    __( 'Reusable Blocks', 'missing-menu-items' ),

    ea-missing-menu-items.php, line 50, 51

    __( 'Navigation Menu', 'missing-menu-items' ),
    __( 'Navigation Menu', 'missing-menu-items' ),

    ea-missing-menu-items.php, line 58, 59

    __( 'Templates', 'missing-menu-items' ),
    __( 'Templates', 'missing-menu-items' ),

    ea-missing-menu-items.php, line 66, 67

    __( 'Template Parts', 'missing-menu-items' ),
    __( 'Template Parts', 'missing-menu-items' ),
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Block Styles

    (@blockstyles)

    Good catch. We did change the name last min, and this got overlooked.

    We will have it patched this week.

    Thread Starter Alex Lion (阿力獅)

    (@alexclassroom)

    Not fixed correctly.

    This plugin’s slug is missing-menu-items, but the current Text Domain is ea-missing-menu-items. Change the current Text Domain so it is equal to this plugin’s slug and modify the text domain in all your source files. This change is needed, please refer to this article.

    Please also change the following plugin’s header in ea-missing-menu-items.php, line 13.
    Old: * Text Domain: ea-missing-menu-items
    Correct: * Text Domain: missing-menu-items

    Lo?c Antignac

    (@webaxones)

    Still not resolved. It’s a pity that I won’t be able to use it after I translated it. ??

    Plugin Contributor jamestryon

    (@jamestryon)

    The updated patch will be out tomorrow. We did not want to push a fix on the weekend.

    Plugin Contributor jamestryon

    (@jamestryon)

    Hey Everyone,

    We pushed an update this morning, and you should be good to go.

    Let us know if you have any other issues, feedback, or feature ideas.

    Thread Starter Alex Lion (阿力獅)

    (@alexclassroom)

    Thanks for the updated version, now menu items’ localized names can be displayed correctly.

    Lo?c Antignac

    (@webaxones)

    @jamestryon Thanks for the fix!
    Works great in French ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I18N: UI strings not translatable and wrong text domain’ is closed to new replies.