• Resolved Andras Guseo

    (@aguseo)


    Hi,

    In class-theme-my-login-widget.php:57 the string ‘Welcome’ does not have a text domain set and thus it is not translatable.

    Hope you can fix this soon.

    Cheers

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Andras Guseo

    (@aguseo)

    Actually a couple more strings in that file don’t have a text domain. ‘Dashboard’ (line 88), ‘Profile’ (92), ‘Log Out’ (96).

    Plugin Author Jeff Farthing

    (@jfarthing84)

    All of the strings should be translated by WP core, which is why we chose not to include them in our textdomain.

    Thread Starter Andras Guseo

    (@aguseo)

    Thanks for the reply!

    I think the issue for the widget is the following:

    ‘Dashboard’ and ‘Log out’ do get translated.
    These two strings are present in the front-end translations of WordPress (i.e. hu_HU.po)

    ‘Welcome’ (with ‘Howdy’ as context) and ‘Profile’ do not get translated, as these strings are only present in the admin translations (i.e. admin-hu_HU.po), but the widget is loaded on the front-end so the admin translation files never get called.

    Here’s a screenshot of this: https://dl.dropbox.com/s/78k2wjsriwndgzl/shot_190128_225551.jpg

    Hope you can address this in a future update.

    Cheers,
    Andras

    Why does this have status resolved as no fix is provided?

    All strings are not translated by WP core

    Thread Starter Andras Guseo

    (@aguseo)

    No clue. It wasn’t me.
    Now I need to change core plugin files to be able to translate those strings. Which will be gone with a plugin update.
    /shrug

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Because it will be resolved in the next release.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    BTW, “Log Out” is in the frontend translations from wp-includes/admin-bar.php and wp-includes/class-wp-admin-bar.php.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Widget title not translatable’ is closed to new replies.