languages library
Every optional language pack in one import.
This library references all 14 packs, so importing it
puts them all in your build. To keep an app small, import only the
packs you need from package:vulgarity/lang/<code>.dart instead.
Constants
-
kAvailableLanguages
→ const List<
String> - Language codes this package carries, English included.
-
kLanguageSeeds
→ const Map<
String, String> - Every OPTIONAL pack, keyed by language code.
- seedAr → const String
- 1113 terms for Arabic.
- seedDe → const String
- 446 terms for German.
- seedEs → const String
- 1343 terms for Spanish.
- seedFa → const String
- 463 terms for Persian.
- seedFr → const String
- 1183 terms for French.
- seedHi → const String
- 652 terms for Hindi.
- seedIt → const String
- 1277 terms for Italian.
- seedKo → const String
- 748 terms for Korean.
- seedNl → const String
- 1098 terms for Dutch.
- seedPl → const String
- 1173 terms for Polish.
- seedRu → const String
- 2391 terms for Russian.
- seedTh → const String
- 1440 terms for Thai.
- seedVi → const String
- 502 terms for Vietnamese.
- seedZh → const String
- 463 terms for Chinese.
Functions
-
languageSeed(
String code) → String -
Returns the seed document for
code, English included.