mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 17:43:11 -04:00
GettextI18nRailsJs extends gettext_i18n_rails, making your .PO files available to client side Javascript as JSON. It will find translations inside your .js, .coffee, .handlebars and .mustache files, then it will create JSON versions of your .PO files so you can serve them with the rest of your assets, thus letting you access all your translations offline from client side Javascript.
5 lines
386 B
Text
5 lines
386 B
Text
GettextI18nRailsJs extends gettext_i18n_rails, making your .PO files available
|
|
to client side Javascript as JSON. It will find translations inside your .js,
|
|
.coffee, .handlebars and .mustache files, then it will create JSON versions of
|
|
your .PO files so you can serve them with the rest of your assets, thus letting
|
|
you access all your translations offline from client side Javascript.
|