4 ms·
Hmm, I've read this one: "These .xlf files are generated and contain translated strings for each locale." So why to store them under VCS at first place? I thin
by Borg3 3y ago
Hmm, I've read this one:
"These .xlf files are generated and contain translated strings for each locale."
So why to store them under VCS at first place? I think they are doing it wrong.
- urbandw311er 3y agoI think that’s a pretty sharp observation. Analogous to something like node_modules in web dev, for example. The files could be gitignored and then generated both on local machines but also on the CI/build system.
- haizzz 3y agoAuthor here, the phrase "generated" was the wrong choice of word here. These translations are manually translated by humans in another systems and consolidated into these .xlf files so they're dependent on what the original strings are in code at a specific commit. They cannot be generated on the fly
- Borg3 3y agoAhh, ok, then indeed bad wording. Fix up the orginal article :) Im always strict what is going into VCS. Anything that is generated or preprocessed should not belong there.