HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Some strings are un-translateble

lukoielukoie New
edited June 2010 in Localization
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:
«1

Comments

  • TimTim Operations Vanilla Staff
    Please provide a list of the translation codes (and their containing files) that you're having trouble with.

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    @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.
  • 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)
  • oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    edited June 2010
    $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 ;-)
  • 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
  • lukoielukoie New
    edited June 2010
    - "← Back to Discussions" is also untranslatable
    - the titles of the sections on the admin page, like "dashboard" "users" "appearance"
  • @oliverraduner: how do i translate "What's the Buzz?"
    using apostrophe sign causing error parsing the localization file, which affects whole site .
  • oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    @lukoie Simply enclose the String with Double Quotes instead of Single Quotes. Like:
    $Definition["What's the Buzz?"] = "This is the Buzz!";
  • lukoielukoie New
    edited June 2010
    what's the buzz
         ^^^
  • oh, sorry, i found the way
    i needed to do it like this:
    $Definition["What/'s the Buzz?"] = "news:";
  • $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)
  • oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    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...
  • 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
  • oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
  • @Tim

    Hello, seems like "Welcome Aboard!" is still impossible to translate. :)
  • LincLinc Detroit Admin
    It's wrapped in T() everywhere I can find it...
  • 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. :/
  • @Lincoln, what does it means that it's wrapped in T() ?

    I would like to translate 'Welcome Aboard!' but still my translation does not show.

    How can I fix this?

  • R_JR_J Ex-Fanboy Munich Admin

    My best bet when translation does not shows up is, that you have to clear the cache first :-)

Sign In or Register to comment.