Please upgrade here. These earlier versions are no longer being updated and have security issues.

Translations in definitions.php has no effect!

This discussion is related to the Norsk Locale / Norwegian Locale addon.
edited December 2011 in Vanilla 2.0 - 2.8

These two translations has no effect on the text:

$Definition['Only show followed categories'] = 'Klikk her for å kun se kategorier du følger';

$Definition['You are currently viewing all categories.'] = 'Du ser nå alle kategoriene på forumet.';

This is how it looks like now:

Could someone please tell me why?
All my 320 other lines of translation works fine...
I'm trying to update my translation addon: https://vanillaforums.org/addon/norsk-locale

Comments

  • CategoriesShowFollowed, CategoriesShowUnfollowed,CategoriesViewingAll are the definitions you should change

    grep is your friend

    grep is your friend.

    Turbolego
  • edited December 2011

    Worked like a charm! Thanks x00! =]

    In case someone else wants to know how my code looks like:

    $Definition['Category Management'] = 'Behandle kategorier';
    $Definition['CategoriesShowFollowed'] = 'Klikk her for å se kategorier du følger';
    $Definition['CategoriesShowUnfollowed'] = 'Klikk her for å se kategorier du ikke følger';
    $Definition['CategoriesViewingAll'] = 'Du ser nå alle kategoriene på forumet.';
    $Definition['CategoriesViewingFollowed'] = 'Du ser nå bare kategoriene du følger på forumet.';
    $Definition['CategoriesViewingUnfollowed'] = 'Du ser nå bare kategoriene du ikke følger på forumet.';
    
Sign In or Register to comment.