[Question] Regarding sailfish-weather 3.0 translation

Tracked by Jolla (In progress)

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

peremen gravatar image

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

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



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 +0200 )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 +0200 )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 +0200 )edit

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 +0200 )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 +0200 )edit