Jake Trent

Tag: I18n

i18n Strings in RequireJs

If you have to store your text strings for internationalization (i18n) on the server, that’s one thing. But, if you can store them in Javascript, you might think about using RequireJs and its i18n plugin, because it makes it nice and easy.

Read more

I18n Strings in Javascript

I’ve seen a number of different ways that internationalized strings get put into Javascript code. Of all of them, I kind of like just bundling the resource bundle of key value pairs in Javascript files themselves, one for each language or something close to that. But, in a recent project, there were a few other constraints, so we did it another way.

Read more