Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Translations in definitions.php has no effect!

TurbolegoTurbolego New
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

Best Answer

  • x00x00 MVP
    Answer ✓

    CategoriesShowFollowed, CategoriesShowUnfollowed,CategoriesViewingAll are the definitions you should change

    grep is your friend

    grep is your friend.

Answers

  • x00x00 MVP
    Answer ✓

    CategoriesShowFollowed, CategoriesShowUnfollowed,CategoriesViewingAll are the definitions you should change

    grep is your friend

    grep is your friend.

  • TurbolegoTurbolego New
    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.