Modify

Opened 4 years ago

Closed 4 years ago

#3281 closed defect (fixed)

OsmPrimitiveType fails for fusional and/or agglutinative languages

Reported by: Daeron Owned by: Gubaer
Priority: major 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 Changed 4 years ago by Gubaer

  • 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 Changed 4 years ago by Gubaer

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.