Modify

Opened 15 years ago

Closed 15 years ago

#3281 closed defect (fixed)

OsmPrimitiveType fails for fusional and/or agglutinative languages

Reported by: Daeron Owned by: Gubaer
Priority: major Milestone:
Component: Core Version: latest
Keywords: i18n Cc:

Description

In Finnish language, there are 15 (in some dialects 16) different grammatical cases, usually all differ for one particular word. That makes constructs like OsmPrimitiveType not work for Finnish and possibly for other languages too.

OsmPrimitiveType returns a translated string for the supplied osm-type, but using that value by inserting it into other string will make translating very hard and in some cases impossible due to not being able to return correct grammatical case, or gender etc.

The OsmPrimitiveType should be therefore abolished, and the translations done in all the places the translated version of the osm-type is required. There is no easy way to do this centralized as is attempted by the OsmPrimitiveType, as there are many cases required, and different languages may require different cases.

Attachments (0)

Change History (2)

comment:1 by Gubaer, 15 years ago

Owner: changed from team to Gubaer

Agree with you concering the translations. Would like to keep OsmPrimitiveType, though, for the interfaces to the API. Before it was introduced, there were a couple of mapping of from Node.class to node, Way.class to way etc. all over the code.

I'll take care of it after the next release.

comment:2 by Gubaer, 15 years ago

Resolution: fixed
Status: newclosed

(In [1989]) fixed #3281: OsmPrimitiveType fails for fusional and/or agglutinative languages

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Gubaer.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.