3 ms·
Or you can do it the way front-end does and create a 'localizeText(id, default_translation)' function which you will use to print texts. Best of the two worlds.
by watwut 9y ago
Or you can do it the way front-end does and create a 'localizeText(id, default_translation)' function which you will use to print texts. Best of the two worlds.
- mattmanser 9y agoNot without problems. If you change you default translation, you must also change the one you have sitting in your file for your translator.
- watwut 9y agoThe point is to not have another translation in the file. English will be default. We used static file analysis to extract default (English) strings into files.