All Projects → ScullWM → Translala

ScullWM / Translala

Translation Toolbox for your Laravel/Symfony project (translate, stats, commons and dead translations reports, coverage, CI process)

Projects that are alternatives of or similar to Translala

mini i18n
🌐 Minimalistic I18n library for Ruby
Stars: ✭ 93 (+32.86%)
Mutual labels:  i18n, translations
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (+265.71%)
Mutual labels:  i18n, translations
LorittaLocales
🌎 Loritta's localization files, bringing Loritta's cuteness to everyone around the world!
Stars: ✭ 21 (-70%)
Mutual labels:  i18n, translations
deepl-php-lib
🧠 DeepL API Client Library supporting PHP >= 7.3
Stars: ✭ 50 (-28.57%)
Mutual labels:  i18n, translations
Ember Intl
Localization library for any Ember Application or Addon
Stars: ✭ 412 (+488.57%)
Mutual labels:  hacktoberfest, i18n
Domino-English-Translation
🌏 Let's translate Domino, a Japanese MIDI editor!
Stars: ✭ 29 (-58.57%)
Mutual labels:  i18n, translations
findadoc-localization
Translations for Findadoc Japan
Stars: ✭ 17 (-75.71%)
Mutual labels:  i18n, translations
React Next Boilerplate
🚀 A basis for reducing the configuration of your projects with nextJS, best development practices and popular libraries in the developer community.
Stars: ✭ 129 (+84.29%)
Mutual labels:  hacktoberfest, i18n
Udash Core
Scala framework for building beautiful and maintainable web applications.
Stars: ✭ 405 (+478.57%)
Mutual labels:  hacktoberfest, i18n
I18n Editor
GUI for editing your i18n translation files
Stars: ✭ 290 (+314.29%)
Mutual labels:  i18n, translations
Weblate
Web based localization tool with tight version control integration.
Stars: ✭ 2,719 (+3784.29%)
Mutual labels:  hacktoberfest, i18n
Ava Docs
Localized docs for AVA
Stars: ✭ 455 (+550%)
Mutual labels:  hacktoberfest, translations
Jenkins Zh
Jenkins 中文社区网站源码
Stars: ✭ 165 (+135.71%)
Mutual labels:  hacktoberfest, translations
pH7-Internationalization
🎌 pH7CMS Internationalization (I18N) package 🙊 Get new languages for your pH7CMS website!
Stars: ✭ 17 (-75.71%)
Mutual labels:  i18n, translations
Android
DuckDuckGo Android App
Stars: ✭ 2,290 (+3171.43%)
Mutual labels:  hacktoberfest, translations
deepl-api-connector
Connector library for deepl.com rest translation api
Stars: ✭ 12 (-82.86%)
Mutual labels:  i18n, translations
Laravel Translations Loader
Webpack loader to import Laravel translation files (PHP or JSON) into your JS bundle as JSON.
Stars: ✭ 109 (+55.71%)
Mutual labels:  hacktoberfest, translations
Vue I18n Extract
Manage vue-i18n localization with static analysis
Stars: ✭ 123 (+75.71%)
Mutual labels:  hacktoberfest, i18n
Eo Locale
🌏Internationalize js apps 👔Elegant lightweight library based on Internationalization API
Stars: ✭ 290 (+314.29%)
Mutual labels:  hacktoberfest, i18n
Svelte I18n
Internationalization library for Svelte
Stars: ✭ 433 (+518.57%)
Mutual labels:  hacktoberfest, i18n

Translala

Your new toolbox to manage your (Symfony/Laravel/Other) projects translations. It provide commands to translate your missing translations, detect commons translations, report translations stats and detect dead translations.

It can also be integrated in your CI process.

Availables commands:

  • Stats command
  • Common command
  • Dead command
  • Health command (CI Process)
  • Translation command

Availables Files format:

  • Yaml
  • Php
  • Json

Install

Grab the translala.phar and move it to your bin.

$ git clone [email protected]:Translala/translala.git && cp translala/build/translala.phar /usr/local/bin/translala

Configure your project

Here is what a complete .translation.yml file look like. You can add many path for each of your translation path. The translala report are dumped in your export path.

master_language: fr
languages:
    - en
    - fr
    - da

paths:
    - ./app/Resources/translations/
    - ./resources/lang/en/
    - ./src/AcmeBundle/Resources/translations/

export_path: /tmp

api:
    google: my_very_secret_api_key

project_path: ./


health:
    fr: 100
    en: 95
    da: 70

master_language is the locale of reference for your project.

languages list of locales your project have to manage.

paths are filepaths where your translations file are stored.

export_path is the directory where Translala dump your reports

Stats command

translala translala:project:stats --config ./app/Resources/translations/.translation.yml

The stats command report project stats about translations achievements.

Common command

translala translala:project:common --config ./app/Resources/translations/.translation.yml

Do you have a different translation key for each "save" buttons of your form? With many locales, it can have a significant cost.

Dead command

translala translala:project:dead --config ./app/Resources/translations/.translation.yml

This search each translations keys in your project to help you find dead key.

Health command

translala translala:health:status --config ./app/Resources/translations/.translation.yml

Check percentage of missing translation for each locale. Return an exit code if check fail. Made for CI process.

Translation command

translala translala:project:translate --config ./app/Resources/translations/.translation.yml

Using php-translation it translate missing or empty keys for each locale in each file.

Contribution

Feel free to remove array manipulation, fix typo and create new file parser with a PR ;)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].