jonataslaw / jonataslaw/get_cli
One locale bug!
Open
- Dominant language
- Dart
- Stars
- 654
- Forks
- 193
- PR merge metrics
- No merged PRs in 30d
Description
```
extension Trans on String {
/// Translation
String get tr {
var translations = AppTranslation.translations;
var localeName = Platform.localeName;
// Mac return pt-BR; ---------------------------|
localeName = localeName.replaceAll('-', '_'); |
the code will not work , Mac may be return "pt-BR.UTF-8";
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.