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.
3 · ·
Comments
Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
0 · Insightful Awesome LOL ·http://vanillaforums.org/discussion/13244/fatal-error-when-trying-to-open-locale-developer-settings-page
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·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 ?
- Spam
- Abuse
0 · Insightful Awesome LOL ·$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.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Thanks a lot Todd ! I'll try it ASAP…
- Spam
- Abuse
0 · Insightful Awesome LOL ·VanillaSkins.com Themes / Custom Themes / Design & Graphics for Vanilla
- Spam
- Abuse
3 · Insightful Awesome LOL ·Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·I need full language pack to translate it into kurdish language .
- Spam
- Abuse
0 · Insightful Awesome LOL ·How to fix this?
- Spam
- Abuse
0 · Insightful Awesome LOL ·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.
- Spam
- Abuse
0 · Insightful Awesome LOL ·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?
- Spam
- Abuse
0 · Insightful Awesome LOL ·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!
- Spam
- Abuse
0 · Insightful Awesome LOL ·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
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·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!
- Spam
- Abuse
0 · Insightful Awesome LOL ·because i want to see how it made up ,for making kurdish locale
- Spam
- Abuse
0 · Insightful Awesome LOL ·The UTF8 setting is set when you create the database and probably defaulted to a UTF8 charset
- Spam
- Abuse
1 · Insightful Awesome LOL ·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
- Spam
- Abuse
0 · Insightful Awesome LOL ·Anyone has a hint on what to do? Thanks in advance.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Would this problem occur when writing to the database or when the email is created?
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·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.
- Spam
- Abuse
0 · Insightful Awesome LOL ·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.
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·