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
- v2 of this library does not depend on package `intl` anymore, It didn't make sense for the small amount
14
-
of text and now we can use the same code for browser, Flutter and server.
15
-
16
-
- API is now a lot simpler, no need to create instance just use the `format` method.
17
-
18
-
- Allows to add and override locales messages with `setLocaleMessages`
19
-
20
-
- All v1 locale messages are available to use, currently library only loads by default `en`, `en_short`, `es` and `es_short`.
21
-
To add the remaining just call `setLocaleMessages`, see example.
22
9
23
10
## Usage
24
11
@@ -36,7 +23,12 @@ main() {
36
23
}
37
24
```
38
25
39
-
### Adding new locales
26
+
##### IMPORTANT
27
+
You need to add the locales you are going to use in your app otherwise you will get the default english messages.
28
+
29
+
Currently, it has only **english** preloaded and **spanish**. But the library provides messages for several locales, see [locale messages](lib/source/messages).
0 commit comments