easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

How to run golden tests with easy localization?

Open maxAtIppen opened this issue 1 year ago • 0 comments

I use easy_localization and would like to do golden tests with alchemist. We have two languages.

We get the following warning: [🌎 Easy Localization] [WARNING] Localization key [onboarding.continue_button] not found

While debugging, we noticed that the easy localization delegate is missing during the _loadAll() in (flutter/src/widgets/localizations.dart).

In the alchemist package it is not possible to load anything beforehand (as far as I know). Is it possible to manually trigger the load method from the EasyLocalizationDelegate?

Thanks!

maxAtIppen avatar Jun 18 '24 13:06 maxAtIppen