martinandert / react-translate-component

A component for React that utilizes the Counterpart module to provide multi-lingual/localized text content.
MIT License
322 stars 31 forks source link

How many languages can this support? #12

Open carcinocron opened 8 years ago

carcinocron commented 8 years ago

This component looks good for the 1-10 languages range, but is it intended to work/scale with 20-50 languages?

When some one does choose a new language, is that an http call or is the second language simply part of the minified javascript app?

martinandert commented 8 years ago

I'm running it in production with 3 languages, each having approx. 1000 keys. I can't say whether it scales beyond 10 languages. All languages' translations are currently sent to the client at once.

ghost commented 8 years ago

Does it support date formats or digit grouping symbols by default? Or are these rules are something I have to declare on my language file? Thanks

martinandert commented 8 years ago

Does it support date formats or digit grouping symbols by default? Or are these rules are something I have to declare on my language file?

Counterpart (used by this component) supports localizing dates (see https://github.com/martinandert/counterpart#localization). PR's welcome!