Bug #5370

Locale not translated

Added by blerohellec over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:06/07/2015
Priority:NormalDue date:
Assignee:yllen% Done:

100%

Category:-
Target version:1.9.0

Description

Version 1.8.0 (0.85) and previous

In the plugin configuration, I get a list of available reports, in order to set the rights per report.
The list is named 'Report' which is not translated !

The list itself is constructed as
Plugin - Reports
>> Tools - Report -> Report is not translated
>> Assistance - Statistics
Plugin - xxx

Associated revisions

Revision 316
Added by yllen about 4 years ago

fix label to be translated - see #5370

History

#1 Updated by Lena_Gk over 4 years ago

It appears that it takes the entries from the respective report language file instead of the locale file. So for the applicationsbylocation report, if your language is French for example, you need to go to report/applicationsbylocation/applicationsbylocation_fr_FR.php and add the translation there and not just in the locale file. For the rest, you need to update your locale file to include all translations

blerohellec wrote:

Version 1.8.0 (0.85) and previous

In the plugin configuration, I get a list of available reports, in order to set the rights per report.
The list is named 'Report' which is not translated !

The list itself is constructed as
Plugin - Reports

Tools - Report -> Report is not translated
Assistance - Statistics

Plugin - xxx

#2 Updated by blerohellec about 4 years ago

v 1.8.1, yet to solve.
In front/report.form.php, line 68, a 'n' must be added to get _n('Report', 'Reports', 1) and manage correctly singular.
Same in line 86 of the same file (plural).
Same in inc/autoreport.class.php, even if I don't know where it is used.

I don't understand why a new msgid "Reports" has been added.

#3 Updated by yllen about 4 years ago

  • Status changed from New to Closed
  • Assignee set to yllen
  • Target version set to 1.9.0
  • % Done changed from 0 to 100

Also available in: Atom PDF