Skip to content

Support customizing the extracting of translations from resource file #103

@ronnyroeller

Description

@ronnyroeller

<app-localize-behavior> hardcodes how translations are extracted from the resource file.
This constraint causes various limitations raised by users:

As the translation file format is proprietary to <app-localize-behavior>, it requires a build step to transform translation files provided by translation tools.
For example, Transifex offers a JSON Key/Value format that is very similar to the <app-localize-behavior> format (https://docs.transifex.com/formats/json) - except that it doesn't have the language node. Today, this requires a build step to transform the Transifex JSON files into a <app-localize-behavior> resource file.

Allowing users to provide their own function to extract translations from the resource file would make <app-localize-behavior> suitable for a broader usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions