easy_localization_multi

Creator: coderz1093

Last updated:

Add to Cart

Description:

easy localization multi

A loader for
easy_localization_loader package
that merges strings from multiple other asset loaders.
Use this if you have localized packages and must merge their strings with ones from your app.
Example #
Follow the easy_localization docs except adding the loader.
This example uses
easy_localization_yaml
package that supports loading package assets.
runApp(
EasyLocalization(
// NEW:
assetLoader: const MultiAssetLoader(
[
YamlAssetLoader(directory: 'assets/translations'),
YamlAssetLoader(
directory: 'assets/translations',
package: 'my_package',
),
],
),
fallbackLocale: const Locale('en'),
path: 'unused',
startLocale: const Locale('en'),
supportedLocales: const [Locale('en')],
child: MyApp(),
),
);
copied to clipboard
Tech Support, Jobs, and Education #
Please join my Telegram channel for announcements, Flutter jobs, articles, talks, and more:
@ainkin_com
Do you have any questions? Feel free to ask in the Telegram Support Chat.
Or even just join to say 'Hi!'. I like to hear from the users.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.