News for hackers. Stuff that matters.
Re:Cortana available on iOS and Android by probably_wrong on Wednesday December 09, 2015 @11:58AM (#10704892)
I want to like Cortana, I really do. Unfortunately, it's linked to my phone's default language. So even though I could speak English, Cortana will not talk to me because my phone's interface is in Spanish.

That is something I can understand - maybe there are development reasons why second language voice recognition is not possible. However, every time I update my OS, Cortana is added to my main screen again, perhaps to remind me of the wonderful times we could have together if only I changed my phone's main language.

It shouldn't be too hard to add an extra "if" somewhere in the installation process, right?

Re:Cortana available on iOS and Android by danpeddle on Wednesday December 09, 2015 @12:12PM (#10705006)
Sigh, that's sad.

It baffles me that there are still so many services that try to 'automagically' intuit which language someone wants to have a service in, instead of just simply .. asking.

Google play is a prime culprit, for example, showing a mixture of language content on the play store. See also subtitles, dubbed content, books..

Another one - Sony's Playstation store, where if you choose a country, then the language (despite them having the assets available through their international presence) is permanently set and impossible to change.

Re:Cortana available on iOS and Android by Domenic_S on Wednesday December 09, 2015 @12:35PM (#10705172)
> It baffles me that there are still so many services that try to 'automagically' intuit which language someone wants to have a service in, instead of just simply .. asking.

My experience is that language/locale implementation for a big project is so complex that PMs like to handwave the language selection part away. On a recent project I had to go back and ask, "What if an english-speaking user is traveling in Germany, do we show them the German-language site? What if a German-speaking user is traveling to France, do we show them English (since we didn't have an FR localization)?"

Confounding the issue is that many implementations combine locale with language, which can be a problem if you have locale-exclusive features. As a made-up example, maybe Cortana's contract for stock data specifies it can only be used in the US, and you're a US-based Spanish speaker. But Cortana assumes Spanish == Mexico, so if you use Spanish now stock quotes don't work. It's really attractive to just call those problems edge cases to be worked out in the next release.

(I think Etsy handles this really well, you can specify ship-to location, interface language, and currency separately. Although for some reason they auto-detected me, in the Bay Area, as UK, EN-GB, CAD which was strange. Obviously some work to be done.)

Re:Cortana available on iOS and Android by AgentME on Wednesday December 09, 2015 @01:33PM (#10705706)
When I was in China for a while, a frustrating thing was that many websites I've visited often started assuming and practically insisting that I knew Chinese. There was more than one site that I couldn't figure out how to switch back to English. I checked that my browser was still giving the "Accept-Language: en-US,en;q=0.5" header, but clearly websites know better than me.
Re:Cortana available on iOS and Android by jrockway on Wednesday December 09, 2015 @03:13PM (#10706374)
Accept-Language is fun. I have an accept-language that orders them en, ja, other. aa.com (American Airlines) then uses that to display the content to me in English, except dates and times which always appear in Japanese (12月25日 午後1時10分). Fun times.
Re:Cortana available on iOS and Android by jamesoneill on Wednesday December 09, 2015 @04:07PM (#10706757)
For a while I had my system language preferences set as en-UK, ja, en-US and every so often I'd get an installation that was in Japanese because there was no UK English version.
Re:Cortana available on iOS and Android by JimDabell on Wednesday December 09, 2015 @05:56PM (#10707428)
The country code for the United Kingdom is GB, not UK. There's no such language code as en-UK. British English is designated en-GB.
Re:Cortana available on iOS and Android by LeoPanthera on Wednesday December 09, 2015 @04:49PM (#10707021)
That sounds correct behavior to me. You should add a plain "en" before ja.
Re:Cortana available on iOS and Android by PhasmaFelis on Wednesday December 09, 2015 @06:24PM (#10707618)
Is that a problem? It sounds like what you asked for.
Re:Cortana available on iOS and Android by robryk on Wednesday December 09, 2015 @03:05PM (#10706323)
Some browsers used to send a default Accept-Language that specified English without asking the user (and, IIRC, even if the UI language of the browser was different). Thus, many sites still ignore those particular values of Accept-Language. This seems to be one of them.
Re:Cortana available on iOS and Android by joosters on Wednesday December 09, 2015 @03:53PM (#10706666)
There are definitely more web browsers in China that have the Accept-Language header wrongly set to English, than there are English readers there who want English. So the websites may not know better than you, but they know better than the majority of the web browsers. It's not perfect, but they are making the correct general decision IMO.
Re:Cortana available on iOS and Android by TillE on Wednesday December 09, 2015 @04:08PM (#10706765)
> web browsers in China that have the Accept-Language header wrongly set to English

How? Seriously, how? Assuming the browser's interface is in Chinese, the Accept-Language header should be set properly.

Re:Cortana available on iOS and Android by dave5104 on Wednesday December 09, 2015 @12:34PM (#10705166)
I don't think there's a problem with automagically inferring the language. It sounds like the problem lies in not being able to override that decision.
Re:Cortana available on iOS and Android by lovemenot on Wednesday December 09, 2015 @07:09PM (#10707876)
The route to revert language must be clear though, even when the UI is in a foreign language.

This can be trickier than it sounds. For instance, selecting English from a Japanese UI should be "English" not 英語. Conversely, from English to select Japanese has to be 日本語 not "Japanese".

Re:Cortana available on iOS and Android by Mahn on Wednesday December 09, 2015 @01:35PM (#10705720)
That's exactly the thing, in an ideal world it would try to infer the language automatically, but still let you change it if you are not happy with it.
Re:Cortana available on iOS and Android by vagelim on Wednesday December 09, 2015 @01:36PM (#10705723)
Well then you open up the possibility of being unable to override the language because you cannot interpret the one inferred.
Re:Cortana available on iOS and Android by nucleardog on Wednesday December 09, 2015 @01:22PM (#10705607)
Worst one for me is Google Now's voice service (simply because that's the only one I've ever really used).

Many features and recognition roll out to English (US) first and remain unavailable to me for a long time. I'm in Canada. It's the exact same language, just with some extra "u"s scattered around in the written form.

Re:Cortana available on iOS and Android by BinaryIdiot on Wednesday December 09, 2015 @03:54PM (#10706669)
> It baffles me that there are still so many services that try to 'automagically' intuit which language someone wants to have a service in, instead of just simply .. asking.

Well, because they should and rightfully so. You shouldn't have to select a language every time you start an app. Instead it should use whatever language was set on your system. Anything else just isn't intuitive and would add more friction before a user could get anything meaningful done.

The parent comment was referring to Cortana only working with English and thus assumes the user can't speak English as he has his system set to Spanish. That's an unfortunate edge case but one that could be overcome with advanced settings should they want to deal with it. But again, the anecdote is an edge case and shouldn't be used to go against best practices in regards to localization.

Re:Cortana available on iOS and Android by mikeash on Wednesday December 09, 2015 @07:01PM (#10707843)
Localization is all about edge cases, though. If you ignore edge cases, you'll ignore most world languages, after all.

By all means, make a guess at what language to use, but always allow the user to choose in case you guess wrong.

Re:Cortana available on iOS and Android by BinaryIdiot on Wednesday December 09, 2015 @11:43PM (#10708941)
> Localization is all about edge cases, though. If you ignore edge cases, you'll ignore most world languages, after all.

The edge case of someone setting their device to a different language than the one they want to use in a specific application is not one of localization but of usability.

> By all means, make a guess at what language to use, but always allow the user to choose in case you guess wrong.

While I agree I wouldn't call it a guess as it's a setting a user set when setting up their device.

Re:Cortana available on iOS and Android by Livven on Thursday December 10, 2015 @05:26AM (#10709903)
You make the problem sound more obscure than it actually is, which to be fair is very understandable (and I guess common) if you're from an English-speaking country.

Many people outside of those know English well enough that they'd rather have a feature in English than not at all.

Also, many if not most applications and services that aren't billion-dollar businesses or otherwise have had insane amounts of resources poured into them have terrible localization. And even if the localization is good, it can be beneficial to use the English version.

English is the international language, it is taught to children all over the world, it is used in business, academia and so on, all over the world. You know that, everyone knows that, but sadly, to all-English dev teams, it is all too often an afterthought.

And that doesn't even take expats, travelers etc. into account, who might want to use their native language system-wide but need certain applications to use the local language, or vice versa.

Re:Cortana available on iOS and Android by mikeash on Thursday December 10, 2015 @11:44AM (#10711563)
I would say that UI language and speech input language are different enough that taking them to be the same would qualify as a good guess, not simply obeying a setting.

Apple takes this approach with Siri, for example.

Re:Cortana available on iOS and Android by henry_vonfire on Friday December 11, 2015 @05:55AM (#10716397)
I'm used to switch between three different languages to take advantage of the prediction thing in the default android keyboard and I think it's very comfortable, just one or two taps and you are ready to go.
Re:Cortana available on iOS and Android by robryk on Wednesday December 09, 2015 @03:08PM (#10706338)
> It baffles me that there are still so many services that try to 'automagically' intuit which language someone wants to have a service in, instead of just simply .. asking.

There's a simple explanation for that. Adding a UI may end up being much more involved than a somewhat complicated guessing infrastructure. And if that's fine for most of users, an organization might not care enough to make it better.

Re:Cortana available on iOS and Android by jbigelow76 on Wednesday December 09, 2015 @01:18PM (#10705584)
It baffles me that there are still so many services that try to 'automagically' intuit which language someone wants to have a service in, instead of just simply .. asking.

They are damned if they do and damned if they don't. If they don't automatically intuit users will call them lazy or declare it bad UX for not using the same language the phone is set to.

Re:Cortana available on iOS and Android by simonh on Wednesday December 09, 2015 @01:29PM (#10705678)
If only it was possible to automatically determine sensible defaults, but override default settings in applications.
Re:Cortana available on iOS and Android by s73v3r on Thursday December 10, 2015 @12:59PM (#10712127)
Except, at least for Android, it's not easy to override the language settings just for an app.
Re:Cortana available on iOS and Android by mhurron on Wednesday December 09, 2015 @12:48PM (#10705280)
Both of your examples could easily be licensing issues though.
Re:Cortana available on iOS and Android by s73v3r on Thursday December 10, 2015 @12:50PM (#10712066)
Honestly, at least when it comes to Android development, it's far, far easier to "intuit" (use the phone's default language) than it is to let you choose on a per app basis. The system will automatically select the proper resources, meaning I don't have to write special code to load a Spanish string instead of the English one.
Re:Cortana available on iOS and Android by junto on Wednesday December 09, 2015 @01:35PM (#10705718)
I have similar experiences living in a country where the dominant language is not my own. I hate the assumption that location should determine language preference.

I've worked with several really smart programmers from the US during my career. However, I've noticed that their geographical knowledge of anything outside the US is extremely poor (generalisation I know).

I assume this is due to the education system. Could this be the reason why large global players like Facebook and Google have such a poor acceptance and understanding concerning language, location and locales? Simply because many of the programmers are American?

I often give the example that there are vastly more Catalan speakers in the world than those that speak Norwegian. However Catalan speakers are treated like second class citizens because most of them live in Spain, and programmers assume that Spain equals Spanish. And we are talking millions of people more. It isn't a small number.

I'm often reminded of the urban tale of the man who approached a well known seller of washing-up liquid. He promised them a 25% increase in sales and he's receive 5% of the 25%. They agreed since they had nothing to lose and he told them to make the hole in the squeezy bottle 25% bigger. The people still squeezed the bottle for the same amount of time and the genius went home happy.

So I say to Facebook and Google, "use the language of the user, as defined in their browser language s settings primarily, but offer the user a choice to change it. I'd like 25% of the increased sales" .

The user's location should never be used unless you have legal obligations that are tied to geography. In which case, don't show an ad, since they'll not only be ineffective, but they make your company appear incompetent to the end user as well. Especially when I've registered to use your service and selected a preferred language!

Re:Cortana available on iOS and Android by jahewson on Wednesday December 09, 2015 @03:38PM (#10706551)
> So I say to Facebook and Google, "use the language of the user, as defined in their browser language s settings primarily, but offer the user a choice to change it. I'd like 25% of the increased sales"

Unfortunately this is not always accurate. Chrome on my Mac for example uses "en-us" despite the fact that my machine is entirely configured to use British English (en-gb). For my own websites I'm forced to geoip the location to infer which subset of English to use - most annoying.

Re:Cortana available on iOS and Android by kuschku on Wednesday December 09, 2015 @04:30PM (#10706892)
You do know Chrome has a way to change that?
Re:Cortana available on iOS and Android by kuschku on Wednesday December 09, 2015 @04:31PM (#10706894)
Even better: If the location and browser’s language setting don’t match, offer the person a choice.
Re:Cortana available on iOS and Android by rpgmaker on Wednesday December 09, 2015 @01:54PM (#10705863)
Google navigation is the best example of this. Because of aesthetics I keep my phone in English even though I live in a Spanish speaking country. It's ok for Navigation to assume my language to be English but they should offer the option of changing it. The English voice completely mangles the Spanish street names and makes directions difficult to follow at times. It really isn't difficult for Google to just offer the option of changing the language.
Re:Cortana available on iOS and Android by kuschku on Wednesday December 09, 2015 @04:32PM (#10706905)
Same in Germany.

"Turn Left on A U T O B A H N TWO ONE FIVE". Thanks for spelling every character in english separately >_>

(proper would be "Turn left on A215", or even better, with German pronunciation for street names)

Re:Cortana available on iOS and Android by ArcticCelt on Wednesday December 09, 2015 @10:28PM (#10708683)
Same situation but for french, I live in Quebec. Earlier today I was trying the voice detection to say a direction, I tried to say the street name in the normal french accent, I tried to tell it in a mangled English accent, I tried to read it literally as if it was an English word. Nothing to do, Google directions was making ridiculous interpretations of what I was saying or sending me to locations on other continents. :/
Re:Cortana available on iOS and Android by gambiting on Wednesday December 09, 2015 @12:44PM (#10705252)
Microsoft has some really weird approach to languages.

Take Xbox One. You cannot possibly set your location to say France and language to English. Nope. If you want your console in English, you HAVE to set your location to one of the English-speaking countries. It's really infuriating.

Re:Cortana available on iOS and Android by Zekio on Wednesday December 09, 2015 @04:12PM (#10706786)
This is truly the worst thing ever! Because I have to change my Xbox back to my location and language just to buy new games and then change it back again to an English speaking country and English as language, just so I can actually use the voice control...
Re:Cortana available on iOS and Android by unsignedint on Wednesday December 09, 2015 @04:25PM (#10706866)
Same boat here, with Japanese/English.

Google started getting this correct, and now they let me choose two languages, so I can either speak to it in Japanese or English.

Devs need to realize that there are disconnects in language and usage context for some people, and I'd think this will get worse, not better. Some apps (Amazon MP3 back in Android 2.x era last I tried -- I'm not sure they've fixed that or not now) went so far and even said the service is not available in your country, for solely by the choice of language.

Re:Cortana available on iOS and Android by jrockway on Wednesday December 09, 2015 @03:10PM (#10706357)
Interestingly, Google Now lets you enable multiple languages, and it can tell which you're speaking at the moment. I was quite impressed when it could understand my Japanese.
Re:Cortana available on iOS and Android by hudell on Wednesday December 09, 2015 @12:19PM (#10705055)
Until just a few weeks ago, even switching the phone region and language, I couldn't use Cortana because it just wouldn't download the Language Pack for english. It only started working after a system update. It didn't take me another day to notice that it was useless to me and that I shouldn't even have bothered.
Re:Cortana available on iOS and Android by josu on Wednesday December 09, 2015 @12:12PM (#10705003)
I have the same problem with Android Wear. My phone's setting overrides my language choice when I set up the watch.
Re:Cortana available on iOS and Android by voltagex_ on Wednesday December 09, 2015 @06:49PM (#10707787)
Microsoft region-lock languages on the Xbox, too.

https://xbox.uservoice.com/forums/253802-home-settings/sugge...

Re:Cortana available on iOS and Android by thirdsun on Thursday December 10, 2015 @06:57AM (#10710189)
That reminds me of telling Siri to play [any english band/artist name] when you're using anything but english as default language - she won't recognize anything in that case which renders most of the music related commands useless on iOS.
Re:Cortana available on iOS and Android by pmelendez on Thursday December 10, 2015 @02:47PM (#10712920)
Not trying to change your way to doing things but why don't try using English for the interface? Spanish is my first language as well and I don't have problem writing in spanish while using english as main language for the UI.
Re:Cortana available on iOS and Android by johnchristopher on Wednesday December 09, 2015 @02:46PM (#10706198)
It could be worse. You could live in a French speaking country that is not France but Cortana only works when you switch the whole phone to the French region. Then you get French specific news only (among other things).
Re:Cortana available on iOS and Android by reitanqild on Wednesday December 09, 2015 @12:06PM (#10704965)
On PC it refuses even if my user interface is English.
Re:Cortana available on iOS and Android by Maarten88 on Wednesday December 09, 2015 @12:26PM (#10705110)
Indeed. I think Cortana does not have the knowledge and data it needs as an assistant (such as restaurants, shops, transportation) for many countries even if you set the language to English.
Re:Cortana available on iOS and Android by Joeri on Wednesday December 09, 2015 @01:25PM (#10705648)
Cortana also does reminders, why can't they offer the locale independent parts of Cortana everywhere?
Re:Cortana available on iOS and Android by celticjames on Wednesday December 09, 2015 @01:23PM (#10705613)
I couldn't get it to work because my region is Canada but my speech language was set to English (US). I had to install the speech recognition pack for English (Canada). In a way I sort of flattered that Cortana recognizes my distinct cultural identity.
Re:Cortana available on iOS and Android by crazysaem on Wednesday December 09, 2015 @12:27PM (#10705118)
For me it was the same, but the cause was that the region was set to Germany. So language English, region Germany. After I set the region to the US, I was able to turn on Cortana. //Edit: The reason is probably because of what Maarten88 said.
Re:Cortana available on iOS and Android by kuschku on Wednesday December 09, 2015 @04:34PM (#10706916)
Well, interestingly, Bing and Here have better data for Germany than Google does...
Re:Cortana available on iOS and Android by Pxtl on Wednesday December 09, 2015 @12:55PM (#10705353)
I had to download the canadian English audio pack to make it work, since I'm using the Canadian dictionary. It came bundled with the American English audio pack.

...

We sound the same.

Re:Cortana available on iOS and Android by thecosas on Wednesday December 09, 2015 @02:07PM (#10705948)
Polyglots need not apply.