jonataslaw / jonataslaw/get_cli

One locale bug!

Open
#155 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.