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

Automatic HTML Report is ignoring language setting #2382

Closed
anonymous-matomo-user opened this issue May 1, 2011 · 10 comments
Closed

Automatic HTML Report is ignoring language setting #2382

anonymous-matomo-user opened this issue May 1, 2011 · 10 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

When downloading a set up HTML report, the report is generated in the language piwik was configured to.

When recieving this report automatically when triggered by a website access (not sure if issue also occurs when cron is triggering the report generation) the report is always generated in english.

@julienmoumne
Copy link
Member

I'm trying to reproduce the bug.

So far, I have indeed found an issue with HTML reports and language selection.

The report is correctly sent with the configured language.

However, the message

Please find below your

is in english.

Is it the issue you're facing or is there more than that ?

@anonymous-matomo-user
Copy link
Author

Didn't recognized the "Please find below your" issue - but nice you did :)

I have problems in reproducing this issue. Clicking "send report now" seems to send the report content in the correct language but I'm not sure if this is also so when the report is triggered by a website visit (i received a report with content in english instead of the configured language today)

As far as i understand the "monthly" report is sent only once after the first visit on the website. How can I "clear" the "already sent" cache in the database so i can simulate a visit and the automatic report sending? (i only found ts_last_sent in the table piwik_pdf but setting this back to april wont result in my expected behavior (sending monthly report again)

@julienmoumne
Copy link
Member

In the '_option' table : TaskScheduler.timetable

If you empty it all however, OPTIMIZE TABLE will run on all archive tables.

@anonymous-matomo-user
Copy link
Author

Hm, changed the timestamp in the row for Piwik_PDFReports.monthlySchedule and also deleted the whole row - does not seem to have any effect.

@julienmoumne
Copy link
Member

Can you confirm you have not setup auto archiving ?

@anonymous-matomo-user
Copy link
Author

If you mean the cron auto archiving i can confirm this. (no access to crontab on this machine)

@mattab
Copy link
Member

mattab commented May 1, 2011

AS well as updating timestamp in the row, you have to remove the file tmp/cache/tracker/general.php

Then, you don't have to setup the cron, because the reports will be sent when a visit is recorded.

@anonymous-matomo-user
Copy link
Author

Today i received a report in the correct language automatically.
I'm not sure why the issue occurred yesterday - maybe there is an issue where you have to select the language again to set up the reports properly after a piwik upgrade. As the impact is very limited further investigations wont pay off.

So the only thing left is the "Please find below your" thing. thx!

@julienmoumne
Copy link
Member

The HTML report feature has been released without translations for newly added sentences.

Should we leave this ticket open as a reminder ?

@mattab
Copy link
Member

mattab commented May 2, 2011

translators will automatically translate the text string :)

Cheers

@anonymous-matomo-user anonymous-matomo-user added this to the 1.5 - Piwik 1.5 milestone Jul 8, 2014
@mattab mattab added the wontfix label Aug 3, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants