Skip to content

i18n (slang) support? #281

Open
Open
@fzyzcjy

Description

@fzyzcjy

Hi thanks for this wonderful package! I would appreciate it if i18n could be supported. For example, for https://github.com/Tienisto/slang:

  String get myObject {
    switch (LocaleSettings.currentLocale) {
      case AppLocale.zh:
        return zh.myObject;
      case AppLocale.en:
        return en.myObject;
    }
  }

and I put files like:

- zh
  - myObject.png
- en
  - myObject.png

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions