Giter Site home page Giter Site logo

vscode-flutter-easylocalization's Introduction

VSCode Plugin: Flutter EasyLocalization

Dynamic JSON Badge Static Badge

Extract strings into localization files and generate all translations while doing so, all from the comfort of staying in the development file.

Showcase

Features

  • extract current file's strings into localization files
  • generate all translations for the extracted strings
  • decide if the string is for the current file or for the whole project (general)

What it does:

  • extracts the current strings into the localization files
  • asks for the translation for each language available
  • puts the translations into the localization files
  • generates the key file for the translations
  • replaces the strings in the current file with the generated keys
  • updates imports to access the generated key file

Or simply put
Makes your translation workflow a lot easier and faster.

Note on the underlying package

This plugin is based on the EasyLocalization package. You need to add this package to your pubspec.yaml file in order to use this plugin.

Also note
This plugin is not affiliated with the package in any way.

Meaning:
The credit of the translation engine itself goes to the EasyLocalization package.

Settings

  • translationDir
    The relative directory where the translations files live in.
    default: assets/translations

  • generalTranslationPrefix
    The prefix for translations keys to use when extracting for genewral purpose.
    default: general_

  • sortKeysAlphabetically
    If the translation files should be sorted alphabetically after generation.
    default: true

  • generatedKeyFileDir
    The relative directory where the generated key file should be saved to.
    default: lib/generated

  • generatedKeyFileName
    The name of the generated key file.
    default: locale_keys.g.dart

Bugs

Please report any issues at: Flutter EasyLocalization VSCode Plugin - GitHub Repository

Contribution

Pull requests are WELCOME !

If you have improvements or feel like you can solve a bug, please do not hesitate to submit a pull requests.

Even if you think you might not be skilled enough. That is pure bullsh*t. We are all beginners - all the time :)

Support This Plugin

If you like this plugin and want to support it - submit a feature request, a pull request or simply buy me a little coffee :) - Thank You.

Buy Me A
Coffee

or direct via

DISCLAIMER

I disclaim that I forgot to disclaim the right disclaims.

vscode-flutter-easylocalization's People

Contributors

iosonntag avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.