[264]   With German set-up, '404 Not Found' on an image

Creator: Pete Evans Created: 2015-01-15 11:28:54
Assigned to: Modified: 2015-01-15 11:28:54
Severity: Minor Minor Project: fcon_project
Status: Solved Solved
Product: Issue Tracker Begin:
Version: 2014-05-06 Deadline:
Component: Progress in %:
Target version:
Test blocking: YES
Creator Details
Initial description
I have dokuwiki configured for German:
$conf['lang'] = 'de';
in local.php

When I visit my issue tracker list, I get 404s for
gelöst.gif
(German for 'solved')

{myhost.mydomain.de} - - [17/Dec/2014:09:35:38 +0100] "GET /dokuwiki/lib/plugins/issuetracker/images/gel%C3%B6st.gif HTTP/1.1" 404 1252 "http://{hostname}/dokuwiki/doku.php?id=issues&do=showcaselink&showid=5&project=all" "Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0"

and

File does not exist: /srv/www/htdocs/dokuwiki/lib/plugins/issuetracker/images/gel\xc3\xb6st.gif, referer: http://{myhost}/dokuwiki/doku.php?id=issues


Workaround (but there may be other images with similar problems):
cd lib/plugins/issuetracker/images/; cp solved.gif gelöst.gif

I guess this is an internationalisation problem: should the code be looking for image files with their English names?

Workaround

Comments (work log)
Resolution
Hi Pete,
the issue status + severity and picture filenames have to be identical to get propperrelation without a few dozens configuration Parameters more. If you are using e.g. German expressions, than you have to rename the images within the plugin folder as explained within the plugin description.

Thanks. I now see the documentation
For example you configured a status “gelöst” instead of “solved” then your image file name schould be geloest.gif. Therefore the German language file contain two lines where German “Umlaute” will be converted accordingly.

Fine, but I didn't change the set of statuses configured. I have only the default string:
conf/default.php:$conf['status'] = 'New,Assigned,External Pending,In Progress,Solved,Canceled,Double,Deleted'; // Configure allowed status info


P.

Please Sign in if you want to add a comment or resolution note.
issuetracker/issuelist.txt · Last modified: 2014/04/30 09:36 (external edit)

This Wiki is hosted and ruled by Policies of Frister Consultancy Services.
By using this wiki you accept these rules. -> Impressum