flutter_arb_translator 1.0.4 copy "flutter_arb_translator: ^1.0.4" to clipboard
flutter_arb_translator: ^1.0.4 copied to clipboard

outdated

A command line tool which simplifies translation of Flutter ARB files.

example/Example.md

Add flutter_arb_translator as dev dependency to your pubspec.yaml

dev_dependencies:
  flutter_arb_translator: ^1.0.4

Add dev_assets/flutter_arb_translator_config.json to the root of your project

{
  "AzureCognitiveServices": {
    "SubscriptionKey": "<required>",
    "Region": "<optional>"
  },
  "YandexCloud": {
    "APIKey": "<required>"
  },
  "GoogleCloud": {
    "ProjectId": "<required>",
    "PrivateKey": "<required>",
    "ClientEmail": "<required>"
  },
  "DeepL": {
    "Url": "https://api.deepl.com",
    "ApiKey": "<required>"
  }
}

and set configuration values for service you are going to use

Run flutter_arb_translator tool:

flutter pub run flutter_arb_translator:main --from [sourceLanguage] --to [targetLanguage] --service [azure,yandex,google,deepl]
22
likes
0
points
853
downloads

Publisher

unverified uploader

Weekly Downloads

A command line tool which simplifies translation of Flutter ARB files.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, encrypt, http, path, pointycastle

More

Packages that depend on flutter_arb_translator