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

How to change forum language?

edited November 2010 in Vanilla 2.0 - 2.8
Hi,

I recently have installed vanilla v2.0.14, i want to change default language to Turkish. i want to show you the turkish language pack structure.

\turkish-locale-4-vanilla-2-1.0\applications\garden\locale\tr-TR\definitions.php
\turkish-locale-4-vanilla-2-1.0\conf\locale.php

As far as i know, i need to create tr-TR folder in locales folder along side with skeleton folder on host or on server. And i should put that definitions.php into the tr-TR folder with the file permission of 755.

Should i replace locale.php in conf folder of vanilla installation with turkish one?
I read some FAQ and i didn't see anything about changing locale.php!

Secondly, if i replace locale.php, language changes. there is also translations in locale.php, i thought cutting and pasting those translations into definitions.php would work but nothing has happened. why?

Could you simply tell me what should i do to change my forum language? There isn't any FAQ or forum topic about this.

Comments

  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    edited November 2010
    There is a help topic on localization here: http://vanillaforums.org/page/localization.

    A few of things to note:
    1. Make sure the folder name is not tr-TR, but some other string like "turkish" because the dash in the name will not work.
    2. Make sure you add your $LocaleInfo array to your locale pack.
    3. The help topic has a section called Enabling a Locale Pack on Your Site.
  • Options
    I used tr-TR because the content of plugin archive has that folder.

  • Options
    Hi,

    I trasnlated change.php into Turkish just a little bit, but still most of it is in English. Then i did everything you mentioned above.

    I renamed folder to turk, i enabled it in addons ->locales, i edited conf.php, i edited change.php to definitions.php and put it under turk folder in locales.

    But translated strings didn't changed.

    I really don't understand it.
  • Options
    Hi,
    i have the same language pack as medicus,

    \turkish-locale-4-vanilla-2-1.0\applications\garden\locale\tr-TR\definitions.php
    \turkish-locale-4-vanilla-2-1.0\conf\locale.php

    Please, can somebody explain, where i should replace these 2 .php files.

    please explain like "copy your locale.php file in ...... folder. then go to .... and make .... . after this copy your definitions.php file in ..... folder..."

    thank you
  • Options
    locales/turkish/definitions.php
  • Options
    i use vanilla-2.0.15 how can i translate it ?
    i have got definitions.php (Turkish).
    Please help
  • Options

    Turkish language pack yet?

Sign In or Register to comment.