prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

Translation negotiation on the client side #556

Open prawnsalad opened 10 years ago

prawnsalad commented 10 years ago

We already have the available translations in the client via settings.js so we can easily let the client decide which language to use without any server-side logic. Would require the accept-language headers being thrown into settings.json for completeness.

This should allow settings.json generation to be ported to other languages easier

CoryChaplin commented 10 years ago

Looking a bit into this one. Do you have in mind to keep using negotiator but in the client, or making a simple version in app.js ?