4 ms·
Thanks for additional info. I'm happy to hear that localization is on your priority. > English source strings used in our frontend code live in Typescript fil
by fomine3 4y ago
Thanks for additional info. I'm happy to hear that localization is on your priority.
> English source strings used in our frontend code live in Typescript files (.messages.ts). Source strings used in our backend code live in Java files (Message.java). Our internationalization (i18n) pipeline converts this into a series of XLIFF files (ending in .xlf), with one file for each locale. All these files live in the repository, but the translated .xlf files should never be modified by hand since they are updated automatically when strings get translated.
Isn't it cache?
- haizzz 4y agoNot quite, the .messages.ts and Message.java files are only in English which are then converted into XLIFF files for other languages so they're the source of truth for what the string should be in different locales so they're not cache