On the Lokalise chat, @cristina.gareta wrote:
Hi Peter, is there any special reason to translate first the root language Spanish instead of the “dialect”? Would it be possible to copy the Spanish - Spain to the root language? (translated words)
It is certainly possible, but I want to make sure this makes sense for the project. As I look at the Spanish language translations now:
-
es
is 14.3% done -
es_419
(Latin America) is 17.6% done -
es_ES
(Spain) is 62.6% done
So there is clearly more in Spanish - Spain right now, but there is also at least some part of Spanish - Latin America that isn’t in the root language.
The way the Lokalise is set now, changes to the root language are automatically copied to the dialects and marked as “Unverified”:
There is a filter in the Lokalise user interface to see which strings are marked as “Unverified” and either verify them or adapt them to the dialect.
In Lokalise’s “Language Autofill” settings, I have options for setting a string as unverified when it is updated (“Turn on to automatically set updated language translations as Unverified”) and to override (“Turn on to override existing translation in target languages”). Given the unequal percentages for the root language and the dialects, I think this makes sense:
- Make a one-time batch language autofill from Spanish - Spain to Spanish with “Set unverified” unchecked and “Override” checked. This should also trigger the existing language autofill from Spanish to Spanish - Latin America. For Spanish - Latin America, I expect the effect will be that there are a lot of new translations in that dialect that are marked as Unverified, but anything that is in Spanish - Latin America now will remain unchanged (because of the language autofill rule in the screenshot above).
- Do the same for Spanish - Latin America to Spanish. The effect will be that anything in Spanish - Latin America will be added to Spanish, and if the string isn’t in Spanish - Spain yet, it will be added and marked as “Unverified” (but the existing Spanish - Spain strings will be unchanged).
Going forward, I think it is worth discussing whether it makes sense to have the changes done in the root language first. My assumption was that doing so would make it easier for Spanish - Spain and Spanish - Latin America to reuse each other’s efforts. But I’m not familiar with the Spanish dialects, and so if there is a better workflow for translations we can put different auto-fill rules into place.
Questions
- Is the 1-2 plan described above a good way to bring the Spanish translations to the same level?
- How should the Spanish translations use the autofill functionality to the greatest benefit?
The other Spanish dialect translators here on discuss are @cristianchisaba and @jalexsc. There is also Iñigo Lapitz, but they don’t seem to have signed up for an account here on discuss.folio.org. I will send a message to them directly.