ficusjs / ficusjs-i18n

Functions for managing translations and localization in FicusJS components
MIT License
1 stars 1 forks source link

Implementing a pluggable translation provider architecture #60

Open mesr opened 1 year ago

mesr commented 1 year ago

I would like to propose and, if approved, offer to implement a simple pluggable translation provider architecture for the I18n extension.

With the current implementation of the I18n extension:

A pluggable translation provider architecture would bring the following benefits:

This update would implement the following changes to the I18n extension's API:

Backward compatibility would be maintained by:

Tests and documentation would be updated accordingly.

ducksoupdev commented 1 year ago

Great proposal @mesr . I would love to see that feature added and would be happy to accept an PR that implements this 👍