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 17

CurtisOdenRicardo_Viteriericgillettefh111highwishtc74 +11 guests

Translations in definitions.php has no effect!

This discussion is related to the Norsk Locale / Norwegian Locale addon.

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

  • x00x00
    Posts: 1,548 Accepted Answer 1 like

    CategoriesShowFollowed, CategoriesShowUnfollowed,CategoriesViewingAll are the definitions you should change

    grep is your friend

    grep is your friend.

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