MerbGlobal
MerbGlobal README
A plugin for the Merb framework providing Localization (L10n) and
Internationalization (i18n) support.
more…
merb_global will have the following feature set:
support for model (content) localization
- by default, localization stored in the database
- with DataMapper (targeted 0.1)
- with ActiveRecord (targeted 0.2)
- with Sequel ORM
- with DataMapper (targeted 0.1)
- and, with a choice of strategies in each case:
single-table (c.f. globalize RoR plugin)
|title |varchar(100)| |title_de|varchar(100)| |title_fr|varchar(100)|joined-table for unlimited localizations (c.f. Symfony PHP)
- or, alternatively localizations can be stored outside of the domain
model, UI Strings.
- by default, localization stored in the database
support for view (UI String) localization
choice of providers (po, yaml, database)
Merb::Plugins.config[:merb_global] = { #:provider => "po", # default :provider => 'yaml' #:provider => activerecord #:provider => datamapper #:provider => sequel }for JRuby, wrapper allowing use of .properties files.
Extract, update for PO/POT files
Currency, Date and Language Helpers
- stored either in the database, or for JRuby, wrappers around built-in functionality provided by java.util.Currency, java.util.Localesupport for localization of Merb generated code
- support for non-English Inflectors.
WARNING : MerbGlobal is in a very early planning/development stages.
At this point of time, this code should only be considered for consumption
by advanced Ruby and Merb developers. If you’re looking for something for
production use, and still in the world of Rails, then you should examine their
page dedicated to localization techniques here:
http://wiki.rubyonrails.org/rails/pages/Internationalization
Developer ReadMe
REQUEST : Your development support is very much appreciated. Please
contact us below if you’re interested in lending a hand with the development
of this project.
Getting the Source
git clone git://github.com/myabc/merb_global.git
The following mirrors are also available:
git://repo.or.cz/merb_global.git
http://repo.or.cz/r/merb_global.git
Installation and Setup
rake gem
sudo gem install pkg/merb_global-0.0.1.gem
Licensing and Copyright
MerbGlobal is released under an MIT License. Copyright information, as
well as a copy of the License may be found in the LICENSE file.
Support
WARNING REPEATED : MerbGlobal at a very early stage of its development.
You should not use this code unless you’re reasonably secure with both Ruby
and Merb. That said, please do get involved!
Your best sources for support are currently the wiki, IRC or our mailing
list:
- MerbGlobal Wiki (this is its temporary residence):
http://github.com/myabc/merb_global/wikis
- MerbGlobal mailing list: coming soon
- MerbGlobal homepage: coming soon
- Contact the developers directly:
- alex@alexcolesportfolio.com | myabc on #datamapper, #merb IRC
mainline
-
Cloning this repository:
git clone git://gitorious.org/merb_global/mainline.git mainline cd mainline
Add this repository as a remote to an existing local repository:
git remote add mainline git://gitorious.org/merb_global/mainline.git git fetch mainline git checkout -b my-local-tracking-branch mainline/master_or_other_branch
Activities 
-
Monday July 04 2011
-
Repository
15:19
netpingo cloned merb_global/mainline
New repository is in netpingos-mainline
-

