You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it seems impossible to use dioxus-i18n in tests. Trying to use use_init_i18n in a test function results in a panic with the following message:
to be in a dioxus runtime
Not initializing it obviously fails too.
It would be nice to have a way to test the translations.
Example use case: An internationalized Dioxus app that need to display an unsigned integer in letters and therefore need to test that, for each supported language, the algorithm converts the integer into the correct words.
The text was updated successfully, but these errors were encountered:
Hello,
Currently, it seems impossible to use dioxus-i18n in tests. Trying to use
use_init_i18n
in a test function results in a panic with the following message:Not initializing it obviously fails too.
It would be nice to have a way to test the translations.
Example use case: An internationalized Dioxus app that need to display an unsigned integer in letters and therefore need to test that, for each supported language, the algorithm converts the integer into the correct words.
The text was updated successfully, but these errors were encountered: