ez_flutter_translation_generator 1.0.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 50

EZ Flutter Translation Generator #

EZ Flutter Translation Generator package is a small package for generating and updating translation file for the EZ-Flutter framework.

Table of Contentsb #

  1. Install
  2. Usage
  3. Changelog
  4. Copyright And license

Install #

Update the pubspec.yaml file and add the following line to your dev dependencies.

dev_dependencies:
  ez_flutter_translation_generator: ^1.0.2

Usage #

Create some translation files in /locale. For more information on the translation files structur and naming conventions, check out the documentation at https://ez-flutter.de/docs/translation.

Run the following command in your command line:

flutter pub run build_runner build

This will scan the code for translations and update the translation files by adding the missing translation labels.

Changelog #

For a detailed changelog, see the CHANGELOG.md file

MIT License

Copyright (c) 2019 Ephenodrom

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Changelog #

[1.0.2] - 2019-11-27 #

  • Improve Translation Generator
  • Add unit test

[1.0.1] - 2019-11-21 #

  • Update README.md

[1.0.0] - 2019-11-20 #

  • Release

example/README.md

Todo #

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  ez_flutter_translation_generator: ^1.0.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:ez_flutter_translation_generator/ez_flutter_translation_generator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
1
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Feb 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
build ^1.2.2 1.2.2
Transitive dependencies
_fe_analyzer_shared 1.0.3
analyzer 0.39.4
args 1.5.2
async 2.4.0
charcode 1.1.3
collection 1.14.12
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
glob 1.2.0
html 0.14.0+3
js 0.6.1+1
logging 0.11.4
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.9.1
path 1.6.4
pub_semver 1.4.3
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+13
yaml 2.2.0
Dev dependencies
build_config ^0.4.1+1
build_runner ^1.7.2
pedantic ^1.8.0 1.9.0
source_gen ^0.9.4+6
test ^1.6.0