Best Work Around For Foreign Scripts In Flutter

Fred Grott
5 min readJan 21, 2022

Would it not be nice if one has support for foreign scripts such as Cyrillic in Flutter? Well, there is a workaround to allow foreign scripts like Cyrillic to be displayed in Flutter.

Someone in the Flutter Community forked the GoogleFonts plugin and supplied the feature that has been requested numerous times, the ability to display foreign language scripts:

In this article, I show you the trick to get it to display more than one foreign language in a flutter app.

How Do We Detect What Language The User Has Set

We start this work around with detecting the language locale setting the user has set on their device:

The two languages I am using as an example is English and Russian, and so the two language…

--

--

Fred Grott
Fred Grott

No responses yet