Browse Source

Translations

development
Godwin 11 years ago
parent
commit
91708ef81b
  1. 4
      config/initializers/i18n.rb
  2. 339
      config/locales/pluralization-rules.yml
  3. 2740
      config/locales/translation-info.yml

4
config/initializers/i18n.rb

@ -64,9 +64,9 @@ module I18n
class BikeBike < I18n::Backend::ActiveRecord class BikeBike < I18n::Backend::ActiveRecord
@@needs_translation @@needs_translation
@@translations_file = 'config/locales/.translations.yml' @@translations_file = 'config/locales/translation-info.yml'
@@translation_cache_file = 'config/locales/.translation-cache.yml' @@translation_cache_file = 'config/locales/.translation-cache.yml'
@@pluralization_rules_file = 'config/locales/.pluralization-rules.yml' @@pluralization_rules_file = 'config/locales/pluralization-rules.yml'
@@translation_cache @@translation_cache
def needs_translation(key) def needs_translation(key)

339
config/locales/pluralization-rules.yml

@ -0,0 +1,339 @@
af:
- one
- other
am:
- one
- other
ar:
- zero
- one
- two
- few
- many
- other
az:
- other
be:
- one
- few
- many
- other
bg:
- one
- other
bh:
- one
- other
bn:
- one
- other
bo:
- other
bs:
- one
- few
- many
- other
ca:
- one
- other
cs:
- one
- few
- other
cy:
- one
- two
- many
- other
da:
- one
- other
de:
- one
- other
dz:
- other
el:
- one
- other
en:
- one
- other
eo:
- one
- other
es:
- one
- other
et:
- one
- other
eu:
- one
- other
fa:
- other
fi:
- one
- other
fi:
- one
- other
fo:
- one
- other
fr:
- one
- other
fu:
- one
- other
fy:
- one
- other
ga:
- one
- two
- other
gl:
- one
- other
gu:
- one
- other
gu:
- one
- other
ha:
- one
- other
he:
- one
- other
hi:
- one
- other
hr:
- one
- few
- many
- other
hu:
- other
id:
- other
is:
- one
- other
it:
- one
- other
iw:
- one
- other
ja:
- other
jv:
- other
ka:
- other
km:
- other
kn:
- other
ko:
- other
ku:
- one
- other
lb:
- one
- other
ln:
- one
- other
lt:
- one
- few
- other
lv:
- zero
- one
- other
mg:
- one
- other
mk:
- one
- other
ml:
- one
- other
mn:
- one
- other
mo:
- one
- few
- other
mr:
- one
- other
ms:
- other
mt:
- one
- few
- many
- other
my:
- other
na:
- one
- other
nb:
- one
- other
ne:
- one
- other
nl:
- one
- other
nn:
- one
- other
no:
- one
- other
ns:
- one
- other
om:
- one
- other
or:
- one
- other
pa:
- one
- other
pa:
- one
- other
pl:
- one
- few
- other
ps:
- one
- other
pt:
- one
- other
ro:
- one
- few
- other
ru:
- one
- few
- many
- other
se:
- one
- two
- other
sh:
- one
- few
- many
- other
sk:
- one
- few
- other
sl:
- one
- two
- few
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
so:
- one
- other
sq:
- one
- other
sr:
- one
- few
- many
- other
sv:
- one
- other
sw:
- one
- other
ta:
- one
- other
te:
- one
- other
th:
- other
ti:
- one
- other
tk:
- one
- other
tl:
- one
- other
to:
- other
tr:
- other
uk:
- one
- few
- many
- other
ur:
- one
- other
vi:
- other
wa:
- one
- other
yo:
- other
zh:
- other
zu:
- one
- other

2740
config/locales/translation-info.yml

File diff suppressed because it is too large
Loading…
Cancel
Save