intl_yaml 0.0.2 copy "intl_yaml: ^0.0.2" to clipboard
intl_yaml: ^0.0.2 copied to clipboard

outdated

Auto implement intl globalization method from yaml.

intl_yaml #

This package able to Auto implement intl globalization method from yaml.

Getting Started #

install #

  intl_yaml: 0.0.1

usage #

  1. install intl
dependencies:
  flutter_localizations:
    sdk: flutter
  1. create globalize yaml

e.g.

assets/i18n/en.yaml

make: 'Make'
stock: 'Stock'
helloUser:
  value: 'hello :user'
  examples:
    user: 'Guest'

assets/i18n/ja.yaml

make: '作る'
stock: 'ストック'
helloUser:
  value: ':user さん、こんにちわ'
  examples:
    user: 'ゲスト'
  1. execute
  --config-file 'select globalize file'
  --config-dir 'select globalize dir(ignore if use `--config-file`)'
  --out-lang-dir 'select dir to output the globalize method';
  --out-service-dir 'select dir to output the globalize service';
  --file-prefix 'globalize method file prefix (defailt: intl_message)';
  --default-locale 'default locale(default: en)';
  --project-name(-p) 'project name(temporary option)';
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Auto implement intl globalization method from yaml.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, dart_config, flutter, path

More

Packages that depend on intl_yaml