angular-translate/grunt-angular-translate

extract default translations

renegat4 opened this issue · 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?

+1