0
Globalite is meant to be a breed of the best internationalization/localization plugins available for Rails.
0
@@ -15,8 +15,7 @@ The Locale is set on the user's session making Globalite a perfect solution for
0
The developer can pass dynamic values to be used in the localization.
0
-What's the difference between Globalite and the other existing l10n/i18n plugins?
0
----------------------------------------------------------------------------------
0
+==What's the difference between Globalite and the other existing l10n/i18n plugins?
0
Gibberish is a nice plugin but it doesn't handle locales, you can't have your application in British English and American English. I also don't really like the syntax :p I based the UI localization of Globalite on Chris' work on Gibberish.
0
@@ -26,19 +25,16 @@ Also, Globalite doesn't have the concept of a base language. Mainly because I th
0
script/plugin install http://globalite.googlecode.com/svn/trunk/
0
rename the vendor/plugins/trunk => vendor/plugins/globalite
0
or from your vendor/plugins folder:
0
svn checkout http://globalite.googlecode.com/svn/trunk/ globalite
0
Create a lang folder at the root of your project. Add your localization files in the lang/ui folder if you want to localize your interface.
0
@@ -61,8 +57,7 @@ You can also pass values to the localization, and the translator can do whatever
0
Note that variables can be used in any order the translator wants
0
Localize a time object by using a predefined format (defined in the date_helper_time_formats variable that you can find in globalite/lang/rails/[lang].yml)
0
@@ -94,28 +89,23 @@ Get a distance of time in words localized.
0
Active record errors are automatically rendered in the locale language
0
-Why did you call your plugin 'Globalite'?
0
------------------------------------------
0
+===Why did you call your plugin 'Globalite'?
0
-Globalize was already taken ;) Most seriously, I was looking for a i18n/l10n solution for a project I was working on, after few hours testing Globalize
Josh http://joshknowles.com, Matt http://heidmotron.com/ and I http://railsontherun.com saw it wouldn't work for us. Since we only had the choice between very simple solutions and a complicated solution, I decided to make a "lite" version of Globalize ;)
0
+Globalize was already taken ;) Most seriously, I was looking for a i18n/l10n solution for a project I was working on, after few hours testing Globalize
, Josh http://joshknowles.com, Matt http://heidmotron.com/ and I http://railsontherun.com saw it wouldn't work for us. Since we only had the choice between very simple solutions and a complicated solution, I decided to make a "lite" version of Globalize ;)
0
- add support for pluralization
0
-Internationalization, Localization, Locale:
0
-===========================================
0
+===Internationalization, Localization, Locale:
0
Internationalization refers to the process of modifying an application’s design so that it can support
0
locale differences like text orientation, currency, date and time format, sorting, and so forth. This can be done
0
@@ -128,30 +118,27 @@ en-US. Locales are specified by RFC 3066 and consist of two parts. The first is
0
uses lowercase letters. The second is usually an ISO 3166 country code in uppercase letters.
0
[from Ruby on Rails Commerce (Hellsten, Laine)]
0
-Some code was
'borrowed' from different projects such as:
0
+Some code was
very influenced from different projects such as:
0
* Gibberish http://require.errtheblog.com/plugins/browser/gibberish written by Chris Wanstrath (http://errtheblog.com)
0
* Globalize http://www.globalize-rails.org written by too many people to list them here ;)
0
-* LocalizationSimplified (L10n-simplified) written By Jesper R
ønn-Jensen ( http://justaddwater.dk/ )
0
+* LocalizationSimplified (L10n-simplified) written By Jesper R
onn-Jensen ( http://justaddwater.dk/ )
0
Matt Aimonetti http://railsontherun.com mattaimonetti AT gmail DOT com
0
your name here if you submit a patch :)
0
http://code.google.com/p/globalite/
0
http://railsontherun.com/globalite
0
\ No newline at end of file
Comments
No one has commented yet.