bugMapOSMatic - Bugs: bug #28833, Unicode collation support

 
 

bug #28833: Unicode collation support

Submitted by:  None
Submitted on:  Sun 07 Feb 2010 11:47:36 AM UTC  
 
Category:  i18n Severity:  4 - Important
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  David Mentré <dmentre>
Open/Closed:  Closed Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sun 01 Jan 2012 05:31:54 PM UTC, comment #9: 

I think this bug is fixed. I close it. Re-open if this is not the case.

David Mentré <dmentre>
Project AdministratorIn charge of this item.
Tue 11 May 2010 03:06:52 PM UTC, comment #8: 

Is the sorting still wrong? David M, can you look into this and double check so we can close this bug?

Maxime Petazzoni <mpetazzoni>
Project Administrator
Sat 13 Feb 2010 02:41:04 PM UTC, comment #7: 

Oops, the problem turned out to be localization resetting after submiting if the name field is empty.

Anonymous
Thu 11 Feb 2010 09:50:28 PM UTC, comment #6: 

IMHO a proper solution would be to split the map index titles localisation from the sortign code and just run a locale according to country borders (AFAIK they are all set up in proper relations these days). So for example if you choose to render a city in Poland it would use i18n_pl_generic, for France i18n_fr_generic etc when the "No localization" option is selected. Or a proper unicode sorting trick, but it would break the street name handling...

Łukasz Jernaś <deejay1>
Thu 11 Feb 2010 09:41:50 PM UTC, comment #5: 

Did you select "Rzeczpospolita Polska" in the Język indeksu mapy: dropdown?

Łukasz Jernaś <deejay1>
Thu 11 Feb 2010 09:35:29 PM UTC, comment #4: 

Ok, there is something broken somewhere.

Polish supported is currently under work, see patches:
  http://git.savannah.gnu.org/cgit/maposmatic.git/commit/?id=ed5bc7658a1c5e98dff5ad059cae7f1eaced7eba
  http://git.savannah.gnu.org/cgit/maposmatic.git/commit/?id=6086de3b63143035479150a807bef9fe3e3f14c5
  http://git.savannah.gnu.org/cgit/maposmatic/ocitysmap.git/commit/?id=4d3a32533f533372fd202c3bf8bcdc6bf223bb72

Maybe you should contact directly or through dev@ the original author of those patches, Łukasz Jernaś <deejay1@srem.org>.

See also this thread on dev@:
  http://lists.gnu.org/archive/html/maposmatic-dev/2010-02/threads.html#00135

David Mentré <dmentre>
Project AdministratorIn charge of this item.
Thu 11 Feb 2010 09:12:57 PM UTC, comment #3: 

Still doesn't work:
http://dev.maposmatic.org/jobs/178
I can add Polish support for it if you tell me where to look. My Python-fu is strong ;)

Anonymous
Mon 08 Feb 2010 09:15:42 PM UTC, comment #2: 

The sorting issue is now fixed on http://dev.maposmatic.org. Let us know if you still see the issue.

Please note that the localization of map index is only done for some languages.

David Mentré <dmentre>
Project AdministratorIn charge of this item.
Mon 08 Feb 2010 12:51:23 PM UTC, comment #1: 

Do you have a specific job number where you have observed such issue? We should properly sort names but other people have reported a similar issue, so we might have a regression here.

David Mentré <dmentre>
Project AdministratorIn charge of this item.
Sun 07 Feb 2010 11:47:36 AM UTC, original submission:  

Ocitysmap sorts names wrong. This is quite annoying, and I found a pure Python solution here:

http://jtauber.com/blog/2006/02/13/bug_fix_to_python_unicode_collation_algorithm/

The relevant code would be located in humanize_street_list, but I didn't check it out.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mpetazzoni (Posted a comment)
  • -email is unavailable- added by deejay1 (Posted a comment)
  • -email is unavailable- added by dmentre (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-01-01 dmentre StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2010-05-11 mpetazzoni Categoryocitysmap => i18n
        Severity3 - Normal => 4 - Important
    2010-02-08 dmentre StatusNone => Need Info
    2010-02-08 dmentre Assigned toNone => dmentre

    Back to the top


    Powered by Savane 3.7