slang icon indicating copy to clipboard operation
slang copied to clipboard

Type-safe i18n for Dart and Flutter

Results 27 slang issues
Sort by recently updated
recently updated
newest added

When calling `LocaleSettings.setLocale(locale);` nothing happens unless I click "Hot reload". How can I have the views update when changing language?

question

**Motivation** I migrated from `gen_l10n` to slang, and the generated documentation is better in `gen_l10n` than in `slang`. Since I am a native Japanese speaker, I need to be able...

enhancement

**Motivation** I want to use [lists](https://pub.dev/packages/slang#-lists) from a csv in combination with a custom enum. E.g: I have multiple sets of instruction with a different number of steps. In code...

enhancement

Is there a way to fallback to the language code? For example, say I have `en-GB`, `de-DE` and `de-CH`. My `base_locale` is set as `en-GB`. What I'd like to have,...

enhancement

**Motivation** I'm working on a CLI tool that will generate some text files with style, much like generating HTML. When translating some fields using slang, I also hope to specify...

enhancement

widget tree ``` - runApp - ReInitAppWidget // provides UniqueKey for child when ReInitAppWidget.reinit is called - TranslationProvider - BlocProvider ``` **Expected:** BlocProvider is recreated for every ReInitAppWidget.reinit. **Actual:** BlocProvider...

bug

yo! tysm for making & maintaining slang, it's amazing & powerful & i love it! ### prelude i had some translations that exist in secondary locales but not in the...

enhancement