FLUTTER INTERNATIONALIZATION: Translate strings and force strings generation

Abel Rodríguez
Abel Rodríguez
821 بار بازدید - 2 سال پیش - In this video I show
In this video I show you how to add internationalization to a Flutter app in order to change language automatically when the user changes it from the device settings. In the last part of the video I will show you how to force the generation of the strings related to every language when we edit those strings. For me it was a life saver, specially while generating strings on big apps.

You can check out the example I created on the video from here: https://github.com/Abel1027/intl_example

Flutter arb file guide: https://localizely.com/flutter-arb/

Internationalization package: https://pub.dev/packages/intl

Intl utils package (I use it to force string generation): https://pub.dev/packages/intl_utils

En este vídeo te muestro cómo agregar internacionalización a una aplicación de Flutter para cambiar el idioma automáticamente cuando el usuario lo cambia desde la configuración del dispositivo. En la última parte del vídeo, te mostraré cómo forzar la generación de los strings relacionados con cada idioma cuando editamos esos strings. Para mi fue un lifesaver, especialmente al generar strings en aplicaciones complejas.
2 سال پیش در تاریخ 1401/05/16 منتشر شده است.
821 بـار بازدید شده
... بیشتر