long1eu / long1eu/flutter_i18n

Error in i18n.dart when using Indonesian locale

Open
#63 10 comments 0 reactions 1 assignee View on GitHub

@noordawod is already working on this.

Since May 13, 2019.

bug
Dominant language
Dart
Stars
248
Forks
51
PR merge metrics
No merged PRs in 30d

Description

After adding an .arb file in Indonesian locale (which has the country code _in_), the plugin adds:

```dart
class in extends S {
const in();
}
```

to _generated/i18n.dart_ file, which fails because _in_ is a reserved keyword in the dart language. Since any changes to i18n.dart gets overridden immediately, right now it is impossible to use this plugin for Indonesian locale.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.