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
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Language Developers: Please Update Your Language Packs

ToddTodd Chief Product Officer Vanilla Staff
edited December 2010 in Questions
Until recently (version 2.0.11). Vanilla's language support was unstructured, requiring you to put your translations into a variety of different places. I've made changes to the application to make translations work more like themes and plugins which should make things easier for people translating things.

In order to take advantage of these new features a bit of work has to be done to existing language packs. Don't worry, it's not hard and you can find guidance at http://vanillaforums.org/page/converting-locales.

Once you update your language packs to locale packs and updated them on the addons site they should be slotted into the correct spot.

@Ethneldryt, @Arzen, @pansik, @gh3, @zen0r, @leobalter, @Silencer, @Devstore, @kaplan, @Elliottx.
«1

Comments

  • LincolnLincoln Community Instigator Vanilla Staff
    Very cool, Todd.

    Sr Developer at Vanilla Forums [GitHub, Twitter]

  • Hai i will Do to Tamil Language
  • I've done it for the French translation (I was hoping it could make vanilla usable in another language than english, because it's not the case right now), here is my file :

    http://pastebin.com/8bZ4n3hZ

    (the parent folder is 'french')

    I can enable it in the dashboard, but nothing happens. No translation at all.

    What I'm missing ?
  • gmlgml
    edited October 2010
    By manually writing :

    $Configuration['Garden']['Locale'] = 'fr-FR';

    in config.php, it translates, but it's still unusable.

    When a new user registers, it doesn't sent email, and when you request a new password the email's content is only "PasswordRequest".

    It make Vanilla totally unusable in another language than English for the moment.

    Edit: tested in German, same result.
  • TimTim Lord of Servers Vanilla Staff

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • ToddTodd Chief Product Officer Vanilla Staff
    You need to translate the PasswordRequest string to the sentence with instructions. Here is the English version:
    $Definition['PasswordRequest'] = 'Hello %1$s,

    Someone has requested to reset your password at %2$s. To reset your password, follow this link:

    %3$s

    If you did not make this request, disregard this email.';
  • Funny that nobody for french and german did see that :)

    Thanks a lot Todd ! I'll try it ASAP…
  • phreakphreak VanillaSkins.com - #1 Themeshop for Vanilla ✭✭✭
    German: I'm willing to take on with the german version and have one that is more developed then the actual one in the repository. But as i didn't create the one in the addons-library, i do not really wanna take on with a second name like "german 2" ??

    http://www.VanillaSkins.com - Great Themes For Just $15! :: Also check: Businessdads Plugins

  • TimTim Lord of Servers Vanilla Staff
    edited October 2010
    German: I'm willing to take on with the german version and have one that is more developed then the actual one in the repository. But as i didn't create the one in the addons-library, i do not really wanna take on with a second name like "german 2" ??
    Maybe you and @Silencer can work together?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • ToddTodd Chief Product Officer Vanilla Staff
    And anyone that wants to collaborate should really consider github. Have I mentioned how much I love github recently?
  • edited December 2010
    is there a language pack ?
    I need full language pack to translate it into kurdish language .
  • I made a translation for Dutch and I can only enable it if I set the locale to the default 'en-CA' in the definitions.php file and in the config.php file. If I set it to the proper locale it gets overruled by the english translation.

    How to fix this?
  • I'm trying to make a new Locale, so I copied the skeleton one and changed the few things indicated (folder name/local info key/etc.). I can activate the Locale but it doesn't work, nothing is translated.

    Here is the code with only two test words translated (the folder is called 'french'):

    $LocaleInfo['french'] = array( // make sure the key of this array is the same as its folder name.
    'Locale' => 'fr-FR',
    'Name' => 'French - Français',
    'Description' => '...',
    'Version' => '0.1',
    'Author' => "Your Name",
    'AuthorEmail' => 'Your Email',
    'AuthorUrl' => 'http://your.domain.com',
    'License' => 'Your choice of license'
    );

    $Definition['Discussions'] = 'TEST';
    $Definition['Activity'] = 'Activité';


    BTW, if the file is not in "UTF-8 without BOM", strange things happens.
  • ToddTodd Chief Product Officer Vanilla Staff
    @remouk, You need to set the application's locale. See here: http://vanillaforums.org/page/localization#Enabling

    There was another user that is having utf-8 problems which I'd like to fix, but they seem to be os specific. Do you have any thoughts on the issue?
  • @Todd OK thanks! Sorry I missed that. Btw, I know it's not a setting you need to change often, but I think it should be far better to have a simple dropdown list to select the default locale on that dashboard page.

    I have no idea on the UTF-8 issue. All I can tell you is that I run Notepad++ on Windows 7, then upload the file with FileZilla. Hope it helps!
  • Hurray!

    Hi there! I have almost 98% of the translation into Portuguese complete. But let me tell you a few points: I have not only translated the text «It looks like you're new here. If you want to get involved, click one of these buttons!» and the «Terms of Service».
    On the Panel, I have only 3-5 buttons that are still in english, but the rest (excepting every new plugin feature and text) is fully translated.
    I have found also that making a new Locale, as well re-using the locale.php and the definitions.php is necessary if you use some accented vowels (like portuguese, spanish, italian, french), and it is very easy to make a text to translate.
    So, excepting the rest, my version is fully workable and I have NO BUGS.

    If you would like to have my "how-to" and my text translated from english, feel free!

    my email is lacmbarroso (at) gmail.com

  • Working on Dutch languagefile
  • Hurray!

    Hi there! I have almost 98% of the translation into Portuguese complete. But let me tell you a few points: I have not only translated the text «It looks like you're new here. If you want to get involved, click one of these buttons!» and the «Terms of Service».
    On the Panel, I have only 3-5 buttons that are still in english, but the rest (excepting every new plugin feature and text) is fully translated.
    I have found also that making a new Locale, as well re-using the locale.php and the definitions.php is necessary if you use some accented vowels (like portuguese, spanish, italian, french), and it is very easy to make a text to translate.
    So, excepting the rest, my version is fully workable and I have NO BUGS.

    If you would like to have my "how-to" and my text translated from english, feel free!

    my email is lacmbarroso (at) gmail.com

    Hi lax2000,

    I'm interested in doing my "own" translation, i.e. tailored to my specific needs, into Spanish.

    Could you please share your "how-to" with me?

    I'll email you but I'm also contacting you here in case my email gets filtered by some spam chasing algorithm.

    Thanks!

  • is there a ready language pack? german or french ...etc ?
    because i want to see how it made up ,for making kurdish locale
  • @Todd OK thanks! Sorry I missed that. Btw, I know it's not a setting you need to change often, but I think it should be far better to have a simple dropdown list to select the default locale on that dashboard page.

    I have no idea on the UTF-8 issue. All I can tell you is that I run Notepad++ on Windows 7, then upload the file with FileZilla. Hope it helps!
    In FileZilla's bookmarks settings UTF8 will be autodetected or forced unless you override it to use something else see "File | Site Manager | Charset" dialog
    The UTF8 setting is set when you create the database and probably defaulted to a UTF8 charset
  • @Todd, 've just uploaded the newest italian locale file, upgraded with reference to the new locale system provided starting from 2.0.11

    I noticed that I was experiencing the same issue @gml wrote about, and finally I find how to solve that.

    With reference to the example file the locale was set as en-CA, so I started to setup up my own as it-IT (we also have it_CH) but I noticed the issue above: as soon as I enabled the locale all my forum always stay in eng.

    I changed then it-IT to it_IT and then I re-enabled by locale, and it started to work fine.

    Hope this helps other devs to have their translation working.

    @brwa try to have a look here http://vanillaforums.org/addon/italian-locale-1.0.0
  • The European Portuguese locale is mostly working fine, apart the strings that Baseline Locale does not contain, but outgoing emails fail to display properly the Portuguese specific characters in ISO-8859-1. The text email will not display the HTML entities and the backslash escape of PHP for some reason does not work.

    Anyone has a hint on what to do? Thanks in advance.
  • The email is received as text/plain utf-8. Attempts to change the charset to iso-8859-1 like, for instance, in class.email.php or other places does not work.

    Would this problem occur when writing to the database or when the email is created?
  • edited January 2011
    message deleted
  • I've translated it into Kurdish language ,but i still have problem.

    I can't translate installation page ,which contain (database name ,database password ,Site Title ,...etc) .also i can't translate CHMOD error page ,where it says you have to change these chmod.

    any how to?

    regards.
  • huraaa .
    thank you all
    I have finished kurdish language for vanilla
    here it is http://vanillaforums.org/addon/kurdish-locale-1.0.0

    we are as Chawg group we will try to improve it.
  • @phreak, I might be a bit late, but anyways: Here is a complete translation to German -> German Locale
  • hi.I think create a question-answer website with using vanilla forums.But I didn't find Turkish Translation-for vanilla 2- anywhere..Could you find a solve for my problem ? Or you can say how can I translate words to my language..Thanks for helps
  • Anyone working on a Swedish translation?

«1
Sign In or Register to comment.