Commit graph

4 commits

Author SHA1 Message Date
Jonas Herzig
d6d55c9f9c Do not restrict language codes to two characters
In fact, they may be of 2-8 characters in length according to [BCP 47] 2.2.1.
I do not really see any reason to validate them anyway, and this way we could
also support e.g. `en-US` vs `en-GB`.

[BCP 47]: https://tools.ietf.org/rfc/bcp/bcp47.txt
2020-05-03 17:27:13 +02:00
Jonas Herzig
0ca2a45358 Put webpack in charge of language file copying and loading
And HTTP in charge of caching.
2020-05-03 17:25:02 +02:00
Christian Fraß
f93c042adc adjusted authorship 2020-04-04 14:33:48 +02:00
Christian Fraß
1d7bf5a08b logic 2020-04-04 14:10:53 +02:00