View Issue Details

IDProjectCategoryView StatusLast Update
0011489mantisbtlocalizationpublic2017-10-01 14:55
Reporteratrol Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0rc2 
Summary0011489: Missing Localization of Date Selector
Description

The date selector used in the official graph plugin ist not localized

TagsNo tags attached.
Attached Files
calendar.jpg (44,489 bytes)   
calendar.jpg (44,489 bytes)   

Activities

dhx

dhx

2010-02-12 08:28

reporter   ~0024382

From MantisGraph/core/Period.php:

   function period_selector( $p_control_name ) {
$t_periods = array(
0 => plugin_lang_get( 'period_none' ),
7 => plugin_lang_get( 'period_this_week' ),
8 => plugin_lang_get( 'period_last_week' ),
9 => plugin_lang_get( 'period_two_weeks' ),
1 => plugin_lang_get( 'period_this_month' ),
2 => plugin_lang_get( 'period_last_month' ),
3 => plugin_lang_get( 'period_this_quarter' ),
4 => plugin_lang_get( 'period_last_quarter' ),
5 => plugin_lang_get( 'period_year_to_date' ),
6 => plugin_lang_get( 'period_last_year' ),
10 => plugin_lang_get( 'period_select' ),
);

Those strings are in the English language file too.

My guess is that these strings haven't been translated yet on translatewiki.net for the language you're using?

atrol

atrol

2010-02-12 08:54

developer   ~0024385

I am talking about the strings of the calendar gui.
Months, weekdays, ....

translatewiki is up to date for the language I am using (German)
I completed the translations for all plugins some weeks ago, siebrand updated master and master-1.2.x head.

dhx

dhx

2010-02-18 09:16

reporter   ~0024416

Thanks for adding the screenshot - I now know what you're referring to :)

dregad

dregad

2012-06-01 07:03

developer   ~0031950

Last edited: 2012-06-01 09:14

The calendar used for the date selection is actually a bundled javascript (see http://www.dynarch.com/projects/calendar/old/).

The original package contains several translations (af, al, bg, br, ca, da, de, du, el, en, es, eu, fi, fr, hr, hu, it, jp, ko, lt, lv, nl, no, pl, pt, ro, ru, si, sk, sp, sr, sv, tr, zh), but for some reason when the script was added to MantisBT back in 2007 only the English one was included (see attached changeset 25800fed).

I suppose we could easily add the other available languages, but I am not sure if there is any easy way to integrate this with TranslateWiki - any in any case since it's static data, probably not worth the effort.

.

atrol

atrol

2013-04-27 18:29

developer   ~0036700

Removed assignment. dhx will not contribute to this issue in near future.

atrol

atrol

2017-09-20 16:41

developer   ~0057770

No longer an issue in 2.x as we use a new calendar widget that comes with better localization support.

Related Changesets

MantisBT: master 25800fed

2007-08-13 21:38

thraxisp


Details Diff
add jscalendar, a GPL'd popup date selector

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4542 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0011489
add - javascript/jscalendar/lang/calendar-en.js Diff File
add - javascript/jscalendar/calendar-setup.js Diff File
add - javascript/jscalendar/calendar-blue.css Diff File
add - javascript/jscalendar/calendar.js Diff File