Firebase Multi-Language Support

1,405 views
Skip to first unread message

ozs...@gmail.com

unread,
Jan 23, 2017, 3:09:16 AM1/23/17
to Firebase Google Group
Hi everybody.

I have a question. Can I how to save data with several different language about a video's information into database ? Has Firebase multi language-supporting property ? 

Thanks a lot. 

piotr.br...@digitalvirgo.pl

unread,
Jan 23, 2017, 4:20:58 AM1/23/17
to Firebase Google Group
There is no multi-language support as far as I know. Firebase gives you database and you can prepare your data model to support different languages. As a example, you could have just a key in every data where a text is, and then you could use different node like (/transaltion/$language/$key - i.e. /translation/en/title) to provide proper translation. This is maybe not the best way, but illustrates how you can do it. If you don't want to fetch data for proper language every time, you can prepare your data that you can fetch proper language upfront (in app startup) and cache translated text for proper $language.

cheers,

p.
Reply all
Reply to author
Forward
0 new messages