Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run golden tests with easy localization? #693

Open
maxAtIppen opened this issue Jun 18, 2024 · 0 comments
Open

How to run golden tests with easy localization? #693

maxAtIppen opened this issue Jun 18, 2024 · 0 comments

Comments

@maxAtIppen
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant