wpffontslocalizationroboto

When implementing localization in a WPF application, how would I know if Roboto would not be compatible with the language?


I have a WPF application that uses the Roboto FontFamily as the primary font, but there may be languages that are not compatible with Roboto (i.e. Chinese). How can I programmatically determine if the language is not compatible with Roboto so that I can load the proper FontFamily? Roboto has different variations such as Light, Medium, Bold, Italic, etc. If the substitute font also has some of the variations, I would like to be able to choose those.

The list of languages supported by Windows 10 is as follows:

Afrikaans, Albanian, Amharic, Arabic, Armenian, Assamese, Azerbaijani, Bangla (Bangladesh), Bangla (India), Basque, Belarusian, Bosnian, Bulgarian, Catalan, Central Kurdish, Cherokee, Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish, Dari - Persian (Afghanistan), Dutch, German, Greek, English (United Kingdom), English (United States), Estonian, Finnish, Filipino, French (Canada), French (France), Galician, Georgian, Gujarati, Hausa, Hebrew, Hindi, Hungarian, Icelandic, Igbo, Indonesian, Irish, Italian, Japanese, Kannada, Kazakh, Khmer, K'iche', Kinyarwanda, Konkani, Korean, Kyrgyz, Lao, Latvian, Lithuanian, Luxembourgish, Macedonian, Malay, Malayalam, Maltese, Maori, Marathi, Mongolian, Nepali, Northern Sotho, Norwegian Bokmål, Norwegian Nynorsk, Odia, Persian (Iran), Punjabi (Arabic), Punjabi (Gurmukhi), Polish, Portuguese (Brazil), Portuguese (Portugal), Quechua, Romanian, Russian, Scottish Gaelic, Serbian (Cyrillic, Bosnia & Herzegovina), Serbian (Cyrillic, Serbia), Serbian (Latin), Sindhi (Arabic), Sinhala, Slovak, Slovenian, Spanish (Spain), Spanish (Mexico), Swahili, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Tigrinya, Tswana, Turkish, Turkmen, Ukrainian, Urdu, Uyghur, Uzbek, Valencian, Vietnamese, Welsh, Wolof, Xhosa, Yoruba, Zulu.

Is there a list of Windows 10 languages that Roboto supports, or a list of languages that Roboto does not support? I have not been able to find such a list.


Solution

  • I contacted the Google Fonts team about Roboto support for Windows 10 languages and the reply was:

    Use hyperglot.rosettatype.com to determine language support for any font

    Using this website, the following Windows 10 languages are NOT supported by Roboto:

    Amharic, Arabic, Armenian, Assamese, Azerbaijani, Bangla (Bangladesh), Bangla (India), Belarusian, Bosnian, Cherokee, Chinese (Simplified), Chinese (Traditional), Dari - Persian (Afghanistan), Georgian, Gujarati, Hausa, Hebrew, Hindi, Igbo, Kannada, Khmer, Konkani, Korean, Kyrgyz, Lao, Malayalam, Marathi, Nepali, Odia, Persian, Punjabi, Romanian, Sindhi, Sinhala, Tamil, Telugu, Thai, Tigrinya, Urdu, Uyghur, Valencian, Yoruba