supernovel / easy_localization_code_builder

WIP: generate easy localization key code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generates translation key code for the easy localization package. Support for json and yaml formats.You can see examples in the assets/ folder.

Getting started

first, Setting build.yaml

$default:
  builders:
    easy_localization_keys_generator:easyLocalizationKeysGenerator:
      # The subset of files within the target's sources which should have this Builder applied.
      generate_for: 
        - assets/*.json
        - assets/*.yaml
      # Set output folder
      options:
        output_path: './lib/localizations'

Usage

  • Run build runner
fvm flutter pub run build_runner build

About

WIP: generate easy localization key code

License:Other


Languages

Language:Dart 100.0%