aissat / easy_localization

Easy and Fast internationalizing your Flutter Apps
https://pub.dev/packages/easy_localization
MIT License
918 stars 329 forks source link

Not genereted female and male keys #701

Open yusufkecer opened 2 months ago

yusufkecer commented 2 months ago

Hello, the "female" and "male" values under the "gender" and "gender2" objects are not being generated, while the others are being generated without any issues. What could be causing this?

{
    "msg": "{} are written in the {} language",
    "msg_named": "Easy localization is written in the {lang} language",
    "msg_mixed": "{} are written in the {lang} language",
    "gender": {
        "male": "Hi man ;) {}",
        "female": "Hello girl :) {}",
        "other": "Hello {}"
    },
    "gender2": {
        "male": "Hi man ;) {}",
        "female": "Hello girl :) {}",
        "other": "Hello {}"
    }
}

//.g file
// DO NOT EDIT. This is code generated via package:easy_localization/generate.dart

abstract class  LocaleKeys {
  static const msg = 'msg';
  static const msg_named = 'msg_named';
  static const msg_mixed = 'msg_mixed';
  static const gender = 'gender';
  static const gender2 = 'gender2';

}
yusufkecer commented 2 months ago

The "female" and "male" keys are not being generated.