•  
      request #13845 Replace easygettext by our own gettext extractor
    Infos
    #13845
    Joris MASSON (jmasson)
    2019-09-06 18:18
    2019-09-06 09:56
    14356
    Details
    Replace easygettext by our own gettext extractor

    We have been using easygettext to extract gettext from our Vue apps for a while. Ever since request #13702 where we started using Typescript + Vue, we have had to use a crappy "fork and patch" of easygettext because the native library does not support Typescript.

    Let's go further and write our own gettext extractor. We can drop unneeded features from easygettext and add new features.

    Unwanted features we will drop:

    • Extraction from Pug / Jade template
    • Extraction of HTML tags inside v-translate

    Wanted features to implement:

    • Extraction of $gettext functions inside HTML attributes. This will let us drop many computed properties that were just returning gettext-translated strings. This will in turn enable us to turn many small components into functional components, which are simpler and faster.
    internal improvement
    Dev tools
    Empty
    Empty
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2019-09-06
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups