• Resolved Xoyozo

    (@xoyozo)


    Hi there,

    I installed Matomo for WordPress about 1,5 years ago in the latest version at the time and let the plugin update automatically.

    Since the beginning, I have not been able to change the language, or more precisely, I cannot select a language at all.

    Administration -> Personal -> Setting -> Personal settings
    Language
    ➝ If I click on the dropdown menu, nothing happens, meaning that no selection is displayed there.

    How can I solve this issue?

    Thanks in advance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    Hi @xoyozo, Matomo for WordPress uses the WordPress language settings, so you would need to change the language for your user or site in the WordPress admin. The Matomo language dropdown will be removed for Matomo for WordPress when we have time.

    Thread Starter Xoyozo

    (@xoyozo)

    Hi @dizzyatinnocraft,

    > The Matomo language dropdown will be removed for Matomo for WordPress
    Okay, good to know. I spent several hours searching for the error to try and solve the issue myself. 🙁

    > so you would need to change the language for your user or site in the WordPress admin.
    The website language is set to German and the language for the admin is also configured German. The “Matomo Summary” page is also displayed in German (as are all other WordPress Matomo internal pages). However, when I switch to the external “Matomo Reporting” page (View full reporting), everything is in English. And it has been that way since the beginning.

    Any suggestions for a solution?

    And is there any documentation on the language settings for Matomo for WordPress that you could refer me to?

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    Okay, good to know. I spent several hours searching for the error to try and solve the issue myself.

    I’m sorry you spent so much time trying to resolve this. As I said before, we would like to make this clearer in the future.

    The website language is set to German and the language for the admin is also configured German.

    Is your user the admin user? Or a different user? Can you check the language in WordPress Admin > Users > Profile? If that is also set to German and the language in WordPress Admin > Settings > General is also set to German, can you post your system report (or email to dizzy (at) innocraft (dot) com)? (https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/)

    And is there any documentation on the language settings for Matomo for WordPress that you could refer me to?

    There is currently no extra information for language settings for Matomo for WordPress, as it’s expected to just work. Of course, that may not be the case here, so if we find there is something getting in the way, we will certainly create some documentation around possible issues there.

    Thread Starter Xoyozo

    (@xoyozo)

    Hi @dizzyatinnocraft,

    thank you very much for your additional comments.

    Is your user the admin user?

    Yes, it is.

    Or a different user?

    No other users are currently in use. I am hereby preparing for the use of Matomo by additional users (some of whom do not speak English well).

    Can you check the language in WordPress Admin > Users > Profile?

    It is set to German.

    WordPress Admin > Settings > General

    It is also set to German.

    can you post your system report (or email)

    I’ll send it to you right away by email.

    Thanks.

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    @xoyozo can you go to Matomo Analytics > Diagnostics > Troubleshooting and manually run a site sync and user sync, then see if that fixes the problem?

    Thread Starter Xoyozo

    (@xoyozo)

    Hi @dizzyatinnocraft ,

    okay first, I’ve run site sync manually, and then immediately checked whether the language had changed when I clicked on “View full reporting”. -> However, this was not the case (it was still in English)!

    Then I’ve run user sync and again checked whether the language had changed when I clicked on “View full reporting”. -> This was still not the case (still English).

    Do you have any other ideas?

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    @xoyozo Can you update the /path/to/wordpress/wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php file with https://raw.githubusercontent.com/matomo-org/matomo-for-wordpress/a4177292350cbc65a094d6912580fe97c57c1fe4/classes/WpMatomo/Admin/SystemReport.php? Then check the system report for a rows with name “Current User Locale” and “Current Matomo User Language”, and tell me what the values are?

    Thread Starter Xoyozo

    (@xoyozo)

    Hi @dizzyatinnocraft,

    I’ve uploaded your SystemReport.php via FTP and then refreshed the Diagnostics page. Here are the results:

    Current User Locale: de_DE
    Current Matomo User Language: de

    Thread Starter Xoyozo

    (@xoyozo)

    Hi @dizzyatinnocraft,

    I always use the same browser on the same machine. Now I tried a different one and the correct language worked right away in the external Matomo (“View full reporting”).

    I then deleted all cookies for the relevant WordPress domain in my main browser and “View full reporting” was then also displayed in German. As I said, Matomo had always been in English in this browser since it was first installed.

    So there seems to have been a problem with the language configuration here, which obviously won’t resolve itself. At least now it works as designed.

    Thank you very much for your support!

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    @xoyozo Ah, I see, thank you for the extra details, this tells me exactly where the issue is. And I’m glad you’ve got the language change working for you now. Let us know if you need help with anything else.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.