Closed Cosmatevs closed 3 years ago
many strings can be used in more than one spot, how would you handle that?
@Doqnach Raises a good point. The strings are unique, which means, the first entry will be included only.
Some occurrences of duplicates could be skipped if they always appear together or in the same context. The other ones could be commented – I mean: excluded from executing (// comment) – with a note that they have appeared before.
@Cosmatevs All duplicates must be skipped, or people will translate the same string twice.
You can not have comments inside JSON files.
So just skip all duplicates and it would still be a better solution than the alphabetical order.
Yes, I will do so.
@working-name Will a change to the english.json cause issues?
My bad just noticed this. I'm not sure but if it has a seizure I'll just reorder/reimport everything to match the new english
, so go for it, whatever helps with translations I'm down.
Instead of alphabetical order, the strings should be grouped by place where they are on the page. It would give some context and would help to make translations more accurate.