[Question] Regarding sailfish-weather 3.0 translation

Tracked by Jolla (In release)

asked 2018-10-13 12:30:07 +0300

peremen gravatar image

updated 2018-10-13 13:43:28 +0300

Meanwhile I was updating sailfish-weather translation, I saw a string "Type at least three characters to perform a search". I don't know when this feature was added, but certainly this is not acceptable in Korean place names (and probably C/J too). Most of Korean place names are consisting of two syllables, which is written in only 2 characters in Hangul. This change makes users couldn't search place names.

edit: I created a Wikidata query for identifying cities with the name in native languages of their countries shorter than 3 characters: http://tinyurl.com/y7vhzgr7 Due to the timeout I had to trim the results, but anyway it proves that the assumption of place names must be longer than 3 characters are not accepted.

Do we have any workarounds for this "feature"?

edit retag flag offensive close delete

Comments

3

This is a nice example of communities ability to point out problems before they exist. Nice peremen, nice!

potski ( 2018-10-13 13:10:51 +0300 )edit

I thought that means 3 English characters such as "seo" for seoul.
Therefore, I translate that what that means for Chinese (Taiwan), not 3 Chinese characters.

hanhsuan ( 2018-10-13 14:41:48 +0300 )edit

@hanhsuan: Even if its intention is "2 alphabets", there are some cities which is listed in current Sailfish weather app with only 2 alphabets. One of example is https://en.wikipedia.org/wiki/A%C5%A1 .

See also: https://en.wikipedia.org/wiki/List_of_short_place_names

peremen ( 2018-10-13 14:56:40 +0300 )edit

@peremen
I have tried use one Chinese character "首" for "seoul" ,and the app could find "首爾" for seoul.
Therefore, CJK should all work fine. However, I use "se" that shows nothing that matches this limition.
What you would like jolla to improve that I thought it depends on the data provider with that data or not.
If you use the app to search location, the app will search even if you only type one character.

hanhsuan ( 2018-10-13 16:20:54 +0300 )edit

@hanhsuan: Did you tested this in current stable release, or Sailfish 3.0 developer release? Even entering single Hangul character "서" for "Seoul" is working in current Sailfish Weather app. I don't know whether the string length check is done by either provider's API side or app's side. For the former case, what we need is better error message (instead of 3 letters, just mention "try to use longer keyword" for example). For the latter case, it is clearly a bug.

peremen ( 2018-10-13 16:48:16 +0300 )edit

There's a place kalled "Ed" in the north of Västergötland in Sweden (we probably have a few of those and other places with fewer than 3 letters), which wouldn't be searchable with this limitation.

Mohjive ( 2018-10-13 21:23:59 +0300 )edit
2

In Norway we have 15+ places that are named Å (yes, one letter)

emva ( 2018-10-14 01:27:05 +0300 )edit
1

@peremen
If you tried to search "se" you will find current release has this limition, and Sailfish 3.0 just shows the information for that.
I don't think this is bug, this is more like a compromise between server capacity and completeness.
If you don't feel comfortable with this wording, you could translate what you need as I do for Chinese(Taiwan).

hanhsuan ( 2018-10-14 03:34:55 +0300 )edit

ping @sledges

nthn ( 2018-10-15 15:27:38 +0300 )edit

What if I want to check the weather in Å?

mikelima ( 2018-10-16 19:08:31 +0300 )edit

Thanks for the find! Yes regression caused by me, will fix to the final 3.0.0. Weather API limits substring searches to 3 characters, but 1-2 character cities do get matched.

Joona Petrell ( 2018-10-19 12:38:17 +0300 )edit