diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a852fdfaf..24ae7e19a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ RELEASING: ### Added - added Vietnamese tranlations +- added Finnish tranlations ### Changed - refactor: cleanup routing profile management ([#1850](https://github.com/GIScience/openrouteservice/pull/1850) - improved documentation on the configuration of external storages ([#1811](https://github.com/GIScience/openrouteservice/pull/1811))) diff --git a/ors-api/src/main/java/org/heigit/ors/api/APIEnums.java b/ors-api/src/main/java/org/heigit/ors/api/APIEnums.java index 16bd42fffb..5060c236e9 100644 --- a/ors-api/src/main/java/org/heigit/ors/api/APIEnums.java +++ b/ors-api/src/main/java/org/heigit/ors/api/APIEnums.java @@ -405,6 +405,8 @@ public enum Languages { EO_EO("eo-eo"), ES("es"), ES_ES("es-es"), + FI("fi"), + FI_FI("fi-fi"), FR("fr"), FR_FR("fr-fr"), GR("gr"), diff --git a/ors-engine/src/main/resources/resources/locales/ors_fi-FI.resources b/ors-engine/src/main/resources/resources/locales/ors_fi-FI.resources new file mode 100644 index 0000000000..247f878c10 --- /dev/null +++ b/ors-engine/src/main/resources/resources/locales/ors_fi-FI.resources @@ -0,0 +1,96 @@ +{ + instructions { + "numerals": { + "1": "1.", + "2": "2.", + "3": "3.", + "4": "4.", + "5": "5.", + "6": "6.", + "7": "7.", + "8": "8.", + "9": "9.", + "10": "10." + }, + "directions": { + "north": "pohjoiseen", + "northeast": "koilliseen", + "east": "itään", + "southeast": "kaakkoon", + "south": "etelään", + "southwest": "lounaseen", + "west": "länteen", + "northwest": "luoteseen" + }, + "turn_maneuvers": { + "left": "vasemmalle", + "right": "oikealle", + "sharp_left": "jyrkästi vasemalle", + "sharp_right": "jyrkästi oikealle", + "slight_left": "loivasti vasemalle", + "slight_right": "loivasti oikealle", + "straight": "suoraan", + "uturn": "u-käännös" + }, + "actions": { + "arrive": { + "default": { + "default": "Kohde saavutettu", + "name": "Saavu tielle {way_name}" + }, + "left": { + "default": "Kohde saavutettu (vasemmalla)", + "name": "Saavu tielle {way_name}, (vasemalla)" + }, + "right": { + "default": "Kohde saavutettu (oikealla)", + "name": "Saavu tielle {way_name}, (oikealla)" + }, + "straight": { + "default": "Kohde saavutettu (suoraan edessä)", + "name": "Saavu tielle {way_name}, (suoraan edessä)" + } + }, + "depart": { + "default": { + "default": "Suntaa {direction}", + "name": "Suntaa {direction} tielle {way_name}" + } + }, + "roundabout": { + "default": { + "exit": { + "default": "Aja liikenneympyrään ja poistu liittymästä {exit_number}", + "name": "Aja liikenneympyrään ja poistu liittymästä {exit_number} tielle {wayname}" + }, + "default": { + "default": "Aja liikenneympyrään", + "name": "Aja liikenneympyrään ja poistu tielle {way_name}" + } + } + }, + "turn": { + "default": { + "default": "Käänny {turn_maneuver}", + "name": "Käänny {turn_maneuver} tielle {way_name}", + }, + }, + "continue": { + "default": { + "default": "Jatka {turn_maneuver}", + "name": "Jatka {turn_maneuver} tielle {way_name}" + }, + "uturn": { + "default": "Tee u-käännös", + "name": "Tee u-käännös {way_name}" + } + } + "keep": { + "default": { + "default": "Ryhmittäydy {turn_maneuver}", + "name": "Ryhmittäydy {turn_maneuver} tielle {way_name}" + }, + } + } + } +}