Giter VIP home page Giter VIP logo

grunt-merge-locales's People

Contributors

it-ony avatar

Watchers

 avatar  avatar

grunt-merge-locales's Issues

Feature request - mark added translations and mark existing translations for review

Hi,

In a living project it might happen that you have to change the meaning of an (already translated) item in the source. So you do the change in the source file (typically english). But the change does not propagate to already translated items.

It would be great if I could somehow "force" a retranslation, by marking some items (e.g. by prefixing the value with '???'). The so marked lines should then propagate to the target files:

  • Replace the already translated stuff
  • or prefix the new stuff

By doing so, the translating persons have a marker (e.g. '???') to search for items that need a review. And the developer has a method to trigger a review by the translators.

Example:

en

{
"key1": "foo switches off something"
}

was already translated to

de {
"key1": "foo schaltet etwas aus"
}

Now the developer detected, that there was a mistake in the documentation and changes the meaning of the english text.

en

{
"key1": "foo switches ON something"
}

But this will not propagate to the translators as the text was already translated. The already translated meaning will not update -> Bad. If merge-locales detects the change in the english version, it could update the translated file.

de 
{
"key1": "???(foo switches ON something)???foo schaltet etwas aus"
}

The guy translating the file searches for ??? and can identify the items to review.

By the way: You could also prefixing "untranslated" or "new" items with '???' - this will also help translators to identify lines that need translation easily (so they don't need to scan big file from the beginning and look for a different language in all the text manually - which is error prone and annoying)

kind regards

Andreas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.