cburschka / cadence

A strophe.js-powered XMPP web client for chatrooms.
6 stars 2 forks source link

Strings to YAML #439

Closed cburschka closed 7 years ago

cburschka commented 7 years ago

After config and emoticons, this is the last remaining change.

strings.js will be moved to locales/en.yml, and all such files are compiled to assets/locales/%.json during build.

The default locale will be included in index.html (for now) to avoid having to wait for an asynchronous request before the UI can be rendered.

The actual locale system (as outlined in #168) will take a bigger effort, so there is no way to switch languages yet.