FlominatorTM / wikiblame

http://wikipedia.ramselehof.de/wikiblame.php
GNU General Public License v3.0
54 stars 13 forks source link

Include ltr in translation ... #21

Open FlominatorTM opened 6 years ago

FlominatorTM commented 6 years ago

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

Nikerabbit commented 6 years ago

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

FlominatorTM commented 5 years ago

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

Nikerabbit commented 5 years ago

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.

FlominatorTM commented 5 years ago

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

Nikerabbit commented 5 years ago

Yep!