A package to generate translations based on locales with a process to manually review and merge with API based automation

Overview

Reviewable Locales

A package to generate translations based on locales with a process to manually review and merge with translation API support

Installation

NPM

    npm i -g reviewable-locales

Yarn

    yarn global add reviewable-locales

If using AWS make sure to create an .env file in the same directory you run the command, with the following (swap for your own AWS settings):

  AWS_TRANSLATE_ID=YOUR_ID
  AWS_TRANSLATE_SECRET=YOUR_SECRET
  AWS_TRANSLATE_REGION=YOUR_REGION

Usage (CLI)

  reviewable-locales

Essential notes

  • Make sure your translation (PO) files are located at ./translations/messages/*.po (This will be configurable in future)
  • Make sure you have a ./data folder that exists
  • Place

Overview

This library serves as a strategy for generating and reviewing translations through a mix of manual data entry and automated locale to locale conversions. The process is as follows:

  1. Pre-existing translation files (PO files) are loaded into memory
  2. Translations are checked through pre-processor plugins to mark down entries that can be delegated to a translation service (currently only AWS translate is supported)
  3. Delegated translations are passed to translation API and parsed
  4. Response objects are stored/cached
  5. Response objects merged with in-memory existing translations
  6. Translations exported back to original source files
  7. Translations exported as JSON object compatible with frontend libs (current only Vue i18n supported)

Roadmap

There is lots of potential for new features and refinements to this library, feel free to contribute your ideas and pull requests

Comments
  • Bump lodash from 4.17.15 to 4.17.19

    Bump lodash from 4.17.15 to 4.17.19

    Bumps lodash from 4.17.15 to 4.17.19.

    Release notes

    Sourced from lodash's releases.

    4.17.16

    Commits
    Maintainer changes

    This version was pushed to npm by mathias, a new releaser for lodash since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump minimist from 1.2.0 to 1.2.5

    Bump minimist from 1.2.0 to 1.2.5

    Bumps minimist from 1.2.0 to 1.2.5.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump minimist from 1.2.0 to 1.2.6

    Bump minimist from 1.2.0 to 1.2.6

    Bumps minimist from 1.2.0 to 1.2.6.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump aws-sdk from 2.596.0 to 2.1030.0

    Bump aws-sdk from 2.596.0 to 2.1030.0

    Bumps aws-sdk from 2.596.0 to 2.1030.0.

    Release notes

    Sourced from aws-sdk's releases.

    Release v2.1030.0

    See changelog for more information.

    Release v2.1029.0

    See changelog for more information.

    Release v2.1028.0

    See changelog for more information.

    Release v2.1027.0

    See changelog for more information.

    Release v2.1026.0

    See changelog for more information.

    Release v2.1025.0

    See changelog for more information.

    Release v2.1024.0

    See changelog for more information.

    Release v2.1023.0

    See changelog for more information.

    Release v2.1022.0

    See changelog for more information.

    Release v2.1021.0

    See changelog for more information.

    Release v2.1020.0

    See changelog for more information.

    Release v2.1019.0

    See changelog for more information.

    Release v2.1018.0

    See changelog for more information.

    Release v2.1017.0

    See changelog for more information.

    Release v2.1016.0

    See changelog for more information.

    Release v2.1015.0

    See changelog for more information.

    Release v2.1014.0

    See changelog for more information.

    ... (truncated)

    Changelog

    Sourced from aws-sdk's changelog.

    2.1030.0

    • feature: CloudTrail: CloudTrail Insights now supports ApiErrorRateInsight, which enables customers to identify unusual activity in their AWS account based on API error codes and their rate.
    • feature: Location: This release adds the support for Relevance, Distance, Time Zone, Language and Interpolated Address for Geocoding and Reverse Geocoding.
    • feature: S3Control: Support FIPS for S3 Outposts
    • feature: s3util: Add allowFipsEndpoint option in validateArnRegion

    2.1029.0

    • feature: AppStream: This release includes support for images of AmazonLinux2 platform type.
    • feature: DMS: Add Settings in JSON format for the source GCP MySQL endpoint
    • feature: EC2: Adds a new VPC Subnet attribute "EnableDns64." When enabled on IPv6 Subnets, the Amazon-Provided DNS Resolver returns synthetic IPv6 addresses for IPv4-only destinations.
    • feature: EKS: Adding Tags support to Cluster Registrations.
    • feature: MigrationHubStrategy: AWS SDK for Migration Hub Strategy Recommendations. It includes APIs to start the portfolio assessment, import portfolio data for assessment, and to retrieve recommendations. For more information, see the AWS Migration Hub documentation at https://docs.aws.amazon.com/migrationhub/index.html
    • feature: SSM: Adds support for Session Reason and Max Session Duration for Systems Manager Session Manager.
    • feature: Transfer: AWS Transfer Family now supports integrating a custom identity provider using AWS Lambda
    • feature: WAFV2: Your options for logging web ACL traffic now include Amazon CloudWatch Logs log groups and Amazon S3 buckets.

    2.1028.0

    • feature: Connect: This release adds APIs for creating and managing scheduled tasks. Additionally, adds APIs to describe and update a contact and list associated references.
    • feature: DevOpsGuru: Add support for cross account APIs.
    • feature: EC2: C6i instances are powered by a third-generation Intel Xeon Scalable processor (Ice Lake) delivering all-core turbo frequency of 3.5 GHz. G5 instances feature up to 8 NVIDIA A10G Tensor Core GPUs and second generation AMD EPYC processors.
    • feature: MediaConvert: AWS Elemental MediaConvert SDK has added automatic modes for GOP configuration and added the ability to ingest screen recordings generated by Safari on MacOS 12 Monterey.
    • feature: SSM: This Patch Manager release supports creating Patch Baselines for RaspberryPi OS (formerly Raspbian)
    • feature: endpoint: Add useDualstackEndpoint configuration

    2.1027.0

    • feature: EC2: This release provides an additional route target for the VPC route table.
    • feature: Translate: This release enables customers to import Multi-Directional Custom Terminology and use Multi-Directional Custom Terminology in both real-time translation and asynchronous batch translation.
    • feature: endpoint: Add useFipsEndpoint configuration

    2.1026.0

    • feature: Backup: AWS Backup SDK provides new options when scheduling backups: select supported services and resources that are assigned to a particular tag, linked to a combination of tags, or can be identified by a partial tag value, and exclude resources from their assignments.
    • feature: ECS: This release adds support for container instance health.
    • feature: Resiliencehub: Initial release of AWS Resilience Hub, a managed service that enables you to define, validate, and track the resilience of your applications on AWS
    • feature: endpoint: Move FIPS rules to a separate section in region_config

    2.1025.0

    • feature: Batch: Adds support for scheduling policy APIs.
    • feature: GreengrassV2: This release adds support for Greengrass core devices running Windows. You can now specify name of a Windows user to run a component.

    2.1024.0

    • feature: ChimeSDKMeetings: Updated format validation for ids and regions.
    • feature: EC2: This release adds internal validation on the GatewayAssociationState field
    • feature: SageMaker: SageMaker CreateEndpoint and UpdateEndpoint APIs now support additional deployment configuration to manage traffic shifting options and automatic rollback monitoring. DescribeEndpoint now shows new in-progress deployment details with stage status.
    • feature: WAFV2: You can now configure rules to run a CAPTCHA check against web requests and, as needed, send a CAPTCHA challenge to the client.

    2.1023.0

    • feature: EC2: DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
    • feature: Translate: This release enable customers to use their own KMS keys to encrypt output files when they submit a batch transform job.

    2.1022.0

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump lodash from 4.17.15 to 4.17.21

    Bump lodash from 4.17.15 to 4.17.21

    Bumps lodash from 4.17.15 to 4.17.21.

    Commits
    • f299b52 Bump to v4.17.21
    • c4847eb Improve performance of toNumber, trim and trimEnd on large input strings
    • 3469357 Prevent command injection through _.template's variable option
    • ded9bc6 Bump to v4.17.20.
    • 63150ef Documentation fixes.
    • 00f0f62 test.js: Remove trailing comma.
    • 846e434 Temporarily use a custom fork of lodash-cli.
    • 5d046f3 Re-enable Travis tests on 4.17 branch.
    • aa816b3 Remove /npm-package.
    • d7fbc52 Bump to v4.17.19
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by bnjmnt4n, a new releaser for lodash since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump y18n from 4.0.0 to 4.0.1

    Bump y18n from 4.0.0 to 4.0.1

    Bumps y18n from 4.0.0 to 4.0.1.

    Changelog

    Sourced from y18n's changelog.

    Change Log

    All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

    5.0.5 (2020-10-25)

    Bug Fixes

    5.0.4 (2020-10-16)

    Bug Fixes

    • exports: node 13.0 and 13.1 require the dotted object form with a string fallback (#105) (4f85d80)

    5.0.3 (2020-10-16)

    Bug Fixes

    • exports: node 13.0-13.6 require a string fallback (#103) (e39921e)

    5.0.2 (2020-10-01)

    Bug Fixes

    5.0.1 (2020-09-05)

    Bug Fixes

    5.0.0 (2020-09-05)

    ⚠ BREAKING CHANGES

    • exports maps are now used, which modifies import behavior.
    • drops Node 6 and 4. begin following Node.js LTS schedule (#89)

    Features

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by oss-bot, a new releaser for y18n since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Owner
Wade Penistone
Web developer
Wade Penistone
An element-ui based extension package. We extend some components, such as Table, Menu, Form

element-patch An element-ui based extension package. We extend some components, such as Table, Menu, Form, etc., to enrich their features and function

Daniel 202 Jun 10, 2022
:star2: A Lightweight and customizable package of Emoji Picker in Vue using emojis natives (unicode).

V-Emoji-Picker This simple package using Emojis Natives Contents V-Emoji-Picker Contents Installation Usage Props Events Using custom Emojis Using cus

João Eudes Lima 327 Nov 14, 2022
The objective of this Package is the use gamepad in the project easily and get all functionality of treatment of the buttons

Package-GamePad-Controller The objective of this Package is the use gamepad in the project easily and get all functionality of treatment of the button

Reda Ennakouri 4 Aug 12, 2022
Fully automated version management and package publishing

?? ?? semantic-release Fully automated version management and package publishing semantic-release automates the whole package release workflow includi

null 16.8k Nov 27, 2022
Vue component for generate a link preview

link-prevue A flexible component for generating a link preview Live Demo. Demo repository. Intallation npm install link-prevue Basic usage Javascript

Nivaldo Martinez Urueta 228 Nov 16, 2022
Website to generate strong password. Made with Vue 3 & Tailwind CSS

vue-pw-generator A website to generate strong password. Made with Vue.js & Tailwind CSS. Project setup npm install Compiles and hot-reloads for devel

Don 7 Nov 20, 2022
Generate documentation for swagger-vue with templates (markdown or html)

Generate documentation for swagger-vue with templates (markdown or html)

15 2 Aug 27, 2022
An easy way to generate readme/GitHub profile readme written in Vue.js/Quasar.

An easy way to generate readme/GitHub profile readme written in Vue.js/Quasar.

Mayur Patel 25 Nov 16, 2022
generate uiset resources to a website.

nuxt-web Build Setup # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for production and launch

UISET 4 Aug 23, 2022
Simple vue-virtualized package for Vue.js

vue-virtual-stream - Demo A virtualized list component for chats, comment lists and streams in general. This Vue component can be used to build large

Würth Cloud Services GmbH 16 Feb 19, 2021
NPM package: a 3D rolling sphere of words following your mouse movements

wordsphere NPM package: a 3D rolling sphere of words following your mouse moveme

Ilan Azoulay 2 Jun 28, 2022
A playground for wI2L/jsondiff. Supports all the options of the package.

jsondiff Playground A playground for wI2L/jsondiff. Supports all the options of the package. Getting started To run the application locally, first ins

William Poussier 2 Sep 6, 2022
A Vue.js plugin implementing the 'change-case' package methods as filters

A Vue.js plugin implementing the 'change-case' package methods as filters

null 1 Jul 15, 2020
A minimal library which polyfills the ResizeObserver API and is entirely based on the latest Draft Specification.

A minimal library which polyfills the ResizeObserver API and is entirely based on the latest Draft Specification.

Juggle 831 Nov 25, 2022
Nestjs-ssr - A template using NestJS for both SSR and RESTful API based on Vite

A progressive Node.js framework for building efficient and scalable server-side

炽翎 36 Nov 13, 2022
Search places and address using Google Maps API

Vue-Gmaps Search address and places using Google Maps API Buy me a cofffe please :) https://buymeacoff.ee/ridermansb Installation npm i -S vue-gmaps A

Riderman de Sousa Barbosa 117 Oct 3, 2022
💬 Responsive Vue.js comment system plugin that built with CSS Grid and Firebase REST API + Authentication. https://tugayyaldiz.github.io/vue-comment-grid

Vue.js Comment Grid Table of Contents Introduction Installation Downloading Plugin Dependencies Include Plugin Creating Firebase Project Setting Up Si

Tugay Yaldız 155 Nov 24, 2022
Cluster API developers and operators often need to quickly get insight multicluster configuration

Cluster API Visualization App [WIP] Cluster API developers and operators often need to quickly get insight multicluster configuration. This app provid

Jonathan Tong 45 Nov 21, 2022