WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
language mixed german & english (14 posts)

  1. akedv
    Member
    Posted 2 years ago #

    hi there,

    when using the theme my login plugin, all the themed pages are a language mix of german % english, eg:

    This is what i get when i open the password lost link (http://www.mysite.com/login/?action=lostpassword)

    *****
    Kennwort vergessen
    Please enter your username or email address. You will receive a link to create a new password via email.
    Benutzername oder E-Mail:
    Anmelden
    Registrieren
    ******

    The same with the register page:

    *****
    Registrieren
    Get your own mypage.com account in seconds
    Username:
    (Must be at least 4 characters, letters and numbers only.)
    Email Address:
    We send your registration email to this address. (Double-check your email address before continuing.)
    Passwort
    Passwort bestätigen
    Passwortstärke
    ...
    *****

    i'm using the cimy user extra fields plugin and jigoshop in a multisite environment (2 sites, root in german /en/ in english), where should i look for a solution?

    greets
    alex

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 2 years ago #

    More than likely, the German translation file is imcomplete.

  3. akedv
    Member
    Posted 2 years ago #

    hmm, i just checked it with poedit, but i can't find the strings "create a new password via email" or "We send your registration email to this address", where do they come from?

  4. akedv
    Member
    Posted 2 years ago #

    ah, i see, the strings differ! i found this and this "bug" is still in the class-theme-my-login-template.php

    http://wordpress.org/support/topic/plugin-theme-my-login-bug-in-russian-translation?replies=1

    prove me wrong please ;)

  5. akedv
    Member
    Posted 2 years ago #

    ok sorry, i found these strings, they belong to the wordpress core, to be more precise:

    Please enter your username or email address. You will receive a link to create a new password via email.

    belongs to wp-login.php and

    We send your registration email to this address. (Double-check your email address before continuing.)

    can be found in wp-signup.php

    these strings are all translated in the german language file, strange that these will be displayed in english on my german blog while all the rest of wordpress is in german, but this problem doesn't seem not to be connected to your plugin, does it?

    greets
    alex

  6. Jeff Farthing
    Member
    Plugin Author

    Posted 2 years ago #

    Again, the German translation is probably missing the strings. I have a full translation ready for 6.4 so it will be resolved then.

  7. paradieserl
    Member
    Posted 1 year ago #

    Hi, I'm running 6.36 with the same problem..
    any suggestions or workarounds?

    thanks and regards,
    Nikki

  8. aigarinsh
    Member
    Posted 1 year ago #

    Hi! I might be having the same problem and version is 6.36

    Everything gets translated except Action links under login fields, like "Lost Password" or "Log In" which come from $template->the_action_links( array( 'login' => false ) )

    I see that it is getting the text from WP core language files, but why not for "Lost Password" or "Log In"? I have checked the German translation file (it is WP official de_DE file ) and it has these strings. In Poedit it is 100% translated. Any ideas?

    Also can I replace for example $title = __( 'Lost Password' ) with $title = __( 'Lost Password', 'theme-my-login' ) in class-theme-my-login-template.php to make it use theme-my-login-de_DE.mo instead of WP core translations.

    And I suppose that /wp-content/languages/theme-my-login/theme-my-login-de_DE.mo is now correct path tho this file or am I wrong?

  9. paradieserl
    Member
    Posted 1 year ago #

    Hi @Jeff ,

    this problem still exist, any suggestions?

  10. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    If the WPLANG constant is properly set to the locale and the translation files are present, there's no reason the strings shouldn't be translated - especially the core strings.

  11. aigarinsh
    Member
    Posted 1 year ago #

    Well, they are not what else can I say. Setting the constant doesn't change anything. I have it: define('WPLANG', 'de_DE');

    Though if I go to /wp-login.php then there all is correct in German. And actually I'm not worried about backend, but the frontend.

    ps. I'm using the qTranslate plugin

  12. paradieserl
    Member
    Posted 1 year ago #

    I'm not using any translation plugins, and with all other plugins the translations are working fine.. only this one is half half even though the files are 100% translated.. really weird..

  13. aigarinsh
    Member
    Posted 1 year ago #

    OK, I got it working this way:
    /wp-content/plugins/theme-my-login/includes/class-theme-my-login-template.php line 331
    esc_html( $link['title'] ) change to
    __(esc_html( $link['title'] ))

  14. synetic
    Member
    Posted 1 year ago #

    aigarinsh...thanks!!

    very thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic