Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 9

6apxatCurtisOdenconnectrperegrinewhu606 +4 guests

Some strings are un-translateble

well, i've edited german translation file, and the strings i translated was ok
but now some of the messages on the site are in english, while they ARE translated in my localization file
how could i troubleshot the problem?
Tagged:

Comments

  • TimTim
    Posts: 1,573
    Please provide a list of the translation codes (and their containing files) that you're having trouble with.

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • @Tim here's one:
    "Welcome Aboard!"

    Further I think that my mail-Message (Invitation, password reset) as posted on github, do not work due the according localization string cannot be processed.
    That's EmailInvitation and EmailPassword.
  • Posts: 135
    also these, for example:
    $Definition['Sign In'] = 'entrance';
    $Definition['Apply for Membership'] = 'application form!';
    $Definition['Sign Up →'] = 'go for it →'; (button on the registration form)
  • $Definition['Sign In'] = 'entrance';
    $Definition['Apply for Membership'] = 'application form!';
    $Definition['Sign Up →'] = 'go for it →';
    @lukoie I was able to translate those strings the "normal" way?! You can verify it yourself on my page.

    Probably I should send YOU my German translated locale.php ;-)
  • Posts: 135
    yeah, i know
    and i took your file, and simply translated it into my language
    but even though i had it in german, but its not translated now, when i changed it, which is weird
  • Posts: 135
    - "← Back to Discussions" is also untranslatable
    - the titles of the sections on the admin page, like "dashboard" "users" "appearance"
  • Posts: 135
    @oliverraduner: how do i translate "What's the Buzz?"
    using apostrophe sign causing error parsing the localization file, which affects whole site .
  • @lukoie Simply enclose the String with Double Quotes instead of Single Quotes. Like:
    $Definition["What's the Buzz?"] = "This is the Buzz!";
  • Posts: 135
    what's the buzz
         ^^^
  • Posts: 135
    oh, sorry, i found the way
    i needed to do it like this:
    $Definition["What/'s the Buzz?"] = "news:";
  • Posts: 135
    $Definition['Confirm'] = 'really?';
    $Definition['Are you sure you want to do that?'] = 'do that!';
    $Definition['Okay'] = 'Yeah';
    $Definition['Cancel'] = 'Nah.';

    doesnt work (while deleting, lets say, activities)
  • i needed to do it like this:
    $Definition["What/'s the Buzz?"] = "news:";
    Oh, it really doesn't work without the backslash? If you use a backslash, you can even leave it with single quotes...
  • Posts: 135
    it doesnt work indeed, if you dont escape the single quote with a backslash
    and yes, i left it with a single quotes, thanx a lot for your help
  • Posts: 129
    @Tim

    Hello, seems like "Welcome Aboard!" is still impossible to translate. :)
  • Posts: 2,058
    It's wrapped in T() everywhere I can find it...

    Vanilla developer [GitHub, Twitter]

  • Posts: 129
    Sorry, I've just realized it's only translated when (automatically) posted. I thought that this message was translated eveytime it's shown in a page.

    My bad. :/
Sign In or Register to comment.