grunt-angular-translate icon indicating copy to clipboard operation
grunt-angular-translate copied to clipboard

extract default translations

Open renegat4 opened this issue 10 years ago • 1 comments

Hi!

We would like i18nextract to not only pull the translation keys from the templates but also the default translation.

Example:

<label translate translate-detault="Password">login.common.PASSWORD</label>

Extract:

{
  "login": {
    "common": {
      "PASSWORD": "Password"
    }
  }
}

We upload the extract to the translation-server where the translation-team can do their work. The example is very simple but of course there are translation keys which represent a whole paragraph and the default translation would be very helpful.

Any thoughts on this?

Or is there already a way to do this?

renegat4 avatar Jul 07 '15 08:07 renegat4

+1

omanizer avatar Oct 09 '15 05:10 omanizer