slang-i18n / slang

Type-safe i18n for Dart and Flutter
https://pub.dev/packages/slang
MIT License
459 stars 39 forks source link

Arabic translations glitch #196

Closed ulullul closed 7 months ago

ulullul commented 7 months ago

Hello, I've just decided to use your package for an application but unfortunately encountered a problem with Arabic translations.

When I try to change the language to Arabic, there is a glitch (the video is slowed down a bit):

https://github.com/slang-i18n/slang/assets/46851597/19f17acf-d2f1-496f-96a2-f87d8ced4987

This reproduces only on the web and with any font, including the default one. For Android and IOS, it works fine.

Hope for your help, many thanks.

Tienisto commented 7 months ago

slang only provides the strings. It is up to the developer how to display the strings.

It seems to be a general issue with Flutter

ulullul commented 7 months ago

Thank you for the quick response. You are right, if I use Flutter web renderer HTML, it works fine, but with CanvasKit it's broken.