Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Mar 28, 2023
1 parent 4fe92a3 commit f5901e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/guide/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ export const customFaker = new Faker({
});
```

- `customLocale` is your custom locale definition which will override every other fallback definitions (including the base locale if you override something from that).
- `de_CH` is a specific locale definition that overrides some german definitions.
- `de` is a generic german locale definition.
- `en` is a generic english locale definition which will be used if something is not defined in the `de` locales.
- `base` is the base locale definition which contains definitions that can be used in every language (like e.g. a set of emojis).

## Available locales

<!-- LOCALES-AUTO-GENERATED-START -->
Expand Down

0 comments on commit f5901e4

Please sign in to comment.