@anonymous-matomo-user opened this Issue on March 30th 2009

I have a multilanguage website, where users from all over the world are active. To see what language is not implemented yet or what language is used very often, i needed a plugin that shows me the primary language of the visitor.

Downloads: http://jan.bogutzki.de/piwik-plugin
Keywords: language, plugin, third-party-plugin

@anonymous-matomo-user commented on March 31st 2009

Attachment: Screenshot of Plugin UserLanguage

@anonymous-matomo-user commented on October 18th 2011

Attachment: UserLanguage french translation

@anonymous-matomo-user commented on March 30th 2009

The newest Version could be found on my blog under:

@mattab commented on March 30th 2009 Member

can you please describe exactly what your plugin does, and post a screenshot in the track ticket?

also I quickly looked at the code and saw that you are loading the translations, but you shouldn't have to do that as Piwik can handle plugin-specific translations, if you add your translations in plugin/X/lang/ and set 'translationAvailable' = true in your plugin->getInformation() method.

@anonymous-matomo-user commented on March 31st 2009

Thanks for the info. I have changed the code and removed my method for the translation handling.

What the plugin does:
It count the primary language the user has set up in the browser. So you can now see, what language your users prefer. A screenshot will be added soon.

@anonymous-matomo-user commented on October 18th 2011

Thank you for this plugin !

As a belgian developer you probably know how important it is for us here in Belgium to spot the visitor's language ;-)

Here above is the french translation file you might add to your distro... I'll post a dutch translation whenever I get some time to do it (I alerady had an iso_639 french file available).

@sgiehl commented on February 3rd 2013 Member

The feature of this plugin will be implemented in core. see #3726

@anonymous-matomo-user commented on August 26th 2013


Looks like the current version is not working properly in Piwik 1.12. There is a naming conflict with the UserSettings/functions.php and the UserLanguage/functions.php in method PiwikLanguageTranslate. My quickfix was to disable the method in UserLanguage by adding the prefix "disabled". I'm not sure if there is any impact on doing it and in the current Piwik version in the Git master the name prefix "Piwik" is not used anymore. So, take this just as a hint for users looking to get the plugin running and let us review the problem after Piwik 2.x is out there ;)

@sgiehl commented on August 26th 2013 Member

That feature has been included in core. This Plugin shouldn't be used anymore.

This Issue was closed on February 6th 2014
Powered by GitHub Issue Mirror