Opened 16 years ago
Closed 16 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 , 16 years ago
Owner: | changed from | to
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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 toway
etc. all over the code.I'll take care of it after the next release.