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
In this example there are 5 locales. Each of these is checked in order, and the first locale which contains the requested data will be used:
62
+
63
+
-`customLocale` is your custom locale definition which will override all other fallback definitions.
64
+
-`de_CH` is a specific locale definition that overrides some German definitions with `CH` (Switzerland) data.
65
+
-`de` is a generic `de` (German) locale definition.
66
+
-`en` is a generic `en` (English) locale definition. This is our most complete locale, so we add it to fill some gaps. Depending on your needs, you might want or not want to have it as a fallback.
67
+
-`base` is the base locale definition which contains definitions that can be used in every language (e.g. emojis).
68
+
61
69
## Available locales
62
70
63
71
<!-- LOCALES-AUTO-GENERATED-START -->
@@ -69,6 +77,7 @@ export const customFaker = new Faker({
0 commit comments