wikiblame icon indicating copy to clipboard operation
wikiblame copied to clipboard

Include ltr in translation ...

Open FlominatorTM opened this issue 7 years ago • 5 comments

... it got lost during the transfer to translatewiki somehow.

FlominatorTM avatar Dec 29 '17 10:12 FlominatorTM

What's this? Can you use https://github.com/wikimedia/language-data?

Nikerabbit avatar Dec 29 '17 12:12 Nikerabbit

@translatewiki might work, are there any examples available how to use it?

FlominatorTM avatar Aug 10 '19 16:08 FlominatorTM

You can pick up either the yaml or the json file and access it directly. jquery.uls has some utility methods in JavaScript to access the data.

Nikerabbit avatar Aug 11 '19 11:08 Nikerabbit

Thanks. So I bascially just need to retrieve the script name (e.g. Latn) and check if it is part of these rtl scripts.

FlominatorTM avatar Aug 24 '19 09:08 FlominatorTM

Yep!

Nikerabbit avatar Aug 24 '19 11:08 Nikerabbit