@anonymous-piwik-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-piwik-user commented on March 31st 2009

Attachment: Screenshot of Plugin UserLanguage UserLanguage.jpg

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

Attachment: UserLanguage french translation fr.php

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

The newest Version could be found on my blog under: http://jan.bogutzki.de/piwik-plugin

@mattab commented on March 30th 2009

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-piwik-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-piwik-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

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

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

Hi.

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 Piwik_LanguageTranslate. 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

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