marcobuschini / ng-i18n-cli

A package for helping in translating Angular packages (CLI).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status Maintainability Test Coverage Documentation Commitizen Friendly

Angular Translation Library (CLI)

Specificaions

This is a first try to implement a replacement tool for the NGX Translate library that is now split into to many components, and has now enough shortcomings.

RegEx

These are the the regular expressions used to extract string keys for translation:

  1. From HTML: /'([A-Z0-9_]+)'\s*|\s*(translate\s*(.*)|translate)/g
  2. From TypeScript: /translate\s*(\s*'"['"]\s*(\s*.*))/g

Releases

https://github.com/semantic-release/semantic-release

About

A package for helping in translating Angular packages (CLI).


Languages

Language:TypeScript 59.6%Language:JavaScript 36.7%Language:HTML 3.6%