Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow plugins to add languages - or add dialects to core? #12425

Open
tsteur opened this issue Jan 11, 2018 · 0 comments
Open

Allow plugins to add languages - or add dialects to core? #12425

tsteur opened this issue Jan 11, 2018 · 0 comments
Labels
c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@tsteur
Copy link
Member

tsteur commented Jan 11, 2018

This is a bit of a random thought... Matomo currently supports about 54 languages and I was wondering what is next... So I was thinking it would be fun to add dialects. There are heaps of them! For example "German - Schwäbisch/Swabian" and "German - Bavarian/Bairisch".

All wordings for dialects would default to the base language but any translation key could be translated into the dialect. I don't know how easy it would be for us to manage this and whether we would quickly reach any plan limits with this etc.

So I was thinking it may be interesting to start working on a "Matomo Dialects" plugin where people can contribute and easily add more dialects or alternatively provide a "Matomo - Schwäbisch" plugin. However, developing such a feature seems not yet possible as Matomo seems to presume there is eg a lang/$languageCode.json and /plugins/Intl/lang/$languageCode.json file. So far it is only possible to filter / remove languages via the LanguageManager.getAvailableLanguages event.

It would be epic to have an API to provide further languages to truly localize Matomo :)

If anyone else is interested in adding some dialects or is interested in using a dialect in Matomo please comment. This helps to see whether there is any interest in this at all :)

@tsteur tsteur added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. labels Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants