Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n (slang) support? #281

Open
fzyzcjy opened this issue Aug 20, 2022 · 2 comments
Open

i18n (slang) support? #281

fzyzcjy opened this issue Aug 20, 2022 · 2 comments

Comments

@fzyzcjy
Copy link

fzyzcjy commented Aug 20, 2022

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
@ricardodalarme
Copy link

ricardodalarme commented Dec 8, 2023

+1

@alexkater
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants