afch-rewrite icon indicating copy to clipboard operation
afch-rewrite copied to clipboard

Localizing

Open enterprisey opened this issue 4 years ago • 5 comments

@94rain, I noticed you had a translated fork of this script. It shouldn't be that difficult to just have a large file with translations of all the messages. Would you be interested in something like that?

enterprisey avatar Feb 07 '21 04:02 enterprisey

Yes, I think that's a good idea. How would you plan to implement that?

94rain avatar Feb 07 '21 06:02 94rain

Fortunately, this script has a build step, so perhaps we could have a new directory with one json file per language. Do you think we would need extra handling for pluralization, gender, or other conjugations? (like https://translatewiki.net/wiki/Plural)

enterprisey avatar Feb 07 '21 20:02 enterprisey

I think it is not needed for en / zh in the current state. Something like oneComment ? 'an' : '' are already handled in the script. Not sure whether other languages will need extra handling.

94rain avatar Feb 28 '21 07:02 94rain

@enterprisey Hi. I am trying to have a Persian version of the afch-rewrite. Do you still plan to create the file you mentioned here? Thanks.

Jeeputer avatar May 09 '21 02:05 Jeeputer

@enterprisey, for certain messages like those we leave on user talk pages, can we offload to the Template namespace? this will reduce the need to translate or customise messages for the different language wikis.

robertsky avatar Aug 02 '21 06:08 robertsky