Young-Lord / fight-for-the-open-web

F**k off Google.
The Unlicense
126 stars 8 forks source link

Added a link pointing to the Turkish translation to other README files #6

Closed cardpuncher closed 1 year ago

cardpuncher commented 1 year ago

And removed the link to the Turkish translation from the file in Turkish.

Young-Lord commented 1 year ago

one more thing: can you confirm that the language code is tr, and not tr-tr or tr-TR? You can run this in DevTools -> Console to determine that.

  var lang = 
     navigator.language || 
     navigator.userLanguage || 
     navigator.browserLanguage || 
     navigator.systemLanguage;
cardpuncher commented 1 year ago

On 30.07.2023 05:35, LY wrote:

one more thing: can you confirm that the language code is |tr|, and not |tr-tr| or |tr-TR|?

var lang =
navigator.language ||
navigator.userLanguage ||
navigator.browserLanguage ||
navigator.systemLanguage;

According to https://stackoverflow.com/questions/5580876/navigator-language-list-of-all-languages and some other sites, |tr| should be fine. But the best thing to do would be to test IMHO.