mherger wrote: > > I just tried Orange Squeeze. > > All Qobuz Menus are english. That's the same phone where MS is > running. > > I just checked this. What I'm seeing is that in Material I would get > _most_ menu items in the browser's language, no matter what the LMS > language is. But not all of them: some of the main menu items like "My > Music" would be in LMS' language, as is Material itself. > > So here's what I believe is happening: > > - Material is using LMS' language setting > - requests sent to LMS once a player is connected are using the > browser's language
Hmmm... I'm confused as to why this would *only* affect Qobuz? What Material does is: 1. call ["pref", "language", "?"] to get LMS's language setting 2. *If* lang==en, then I also check the browser's language, and set lang to this if the browser's lang starts with 'en' 3. *If* lang==en Or lang==en-us then stop here - as Material's strings are in American english by default. 4. Otherwise, I get attempt to load Material's translation file for the current lang 5. If this translation can be loaded, it is used and 'Accept-Language' is set to that. I -think- the erro is that I should set 'Accept-Language' to LMS's setting regardless of the steps above. I've updated the code for this. Can someone (with Qobuz?) confirm the fix? *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. ------------------------------------------------------------------------ cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 View this thread: http://forums.slimdevices.com/showthread.php?t=109624 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
