Umair Khan
24295e6ac8
i18next: Add expirationTime option to cache.
...
This ensures that we don't fill up local storage with cached
translations data when using a server that restarts often (e.g. a
development environment).
Fixes : #4443 .
2017-04-12 09:32:49 -07:00
Umair Khan
0cd7c400e1
i18next: Add i18next: to the local storage cache prefix.
...
This just makes it easier to see what these local storage entries are
related to.
2017-04-12 09:32:31 -07:00
Tim Abbott
998dff9e50
lint: Add dangling commas in JavaScript objects.
2017-01-11 15:23:42 -08:00
kevv87
e6369fc29b
eslint: change no-plusplus from warning to 2 and fix violations.
2016-12-01 14:27:17 -08:00
Umair Khan
99c430f707
Make English the fallback language in i18next.
...
Fixes : #1580
2016-08-10 16:06:57 -07:00
Umair Khan
dce48d58b6
Cache translations.
...
Fixes : #1158
2016-07-21 10:23:31 -07:00
Umair Khan
c61a3dfbcc
Ensure translations are loaded.
...
Since i18next loads translations asynchronously we need to make sure
that they are loaded before we call the JS code which depends on them.
Fixes #982
2016-06-20 11:31:28 -07:00
Umair Khan
3092f509b0
Fix Handlebars translations.
...
Change file mapping between Transifex and Zulip. Fix the typo
in the translation file resource url for Chinese.
2016-06-06 09:30:56 -07:00
Umair Khan
82b5d9304b
[third] Integrate i18next with Handlebars
2016-05-19 22:58:25 -07:00
Allie Jones
85809e6140
Add webpack build process.
2015-11-06 09:13:25 -08:00