We should investigate if we can improve our translations API using hooks.
Type of issue
Feature Request
Description
The current API for working with raw translated strings is a bit cumbersome, as it requires duplicating the translation keys, once in the withTranslations call, and once in the translate call. This is further described here: https://github.com/fusionjs/fusion-cli/pull/643
We should investigate various options of improving this API, potentially taking advantage of hooks.
We should investigate if we can improve our translations API using hooks.
Type of issue
Feature Request
Description
The current API for working with raw translated strings is a bit cumbersome, as it requires duplicating the translation keys, once in the
withTranslations
call, and once in thetranslate
call. This is further described here: https://github.com/fusionjs/fusion-cli/pull/643We should investigate various options of improving this API, potentially taking advantage of hooks.