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

outdated

Auto implement intl globalization method from yaml.

☠ Attention ☠

This package is unverified. I will update later.

このパッケージは未検証です。後日アップデート予定です。

intl_yaml #

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

Getting Started #

install #

  intl_yaml: ^0.0.3

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)';

example #

flutter pub pub run \
bin/main.dart \
--config-dir example/lang \
--out-lang-dir example/configs \
--out-service-dir example/services \
-p intl_yaml
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, flutter, path, yaml

More

Packages that depend on intl_yaml