Microsoft Traslator Widget Notify/Auto - microsoft-translator

I am implementing Microsoft Translator Widget using Auto or Notify option. Where is widget getting Language setting from Browse (IE) Internet.options Language or Windows control panel Regional settings?

Used IE Internet.Options Language and choose [es-ES]

Related

What is the difference between "Resources" and "Application" in Chrome DevTools?

I was looking for the Resources tab in Chrome Developer Tools and couldn't find it until I saw there is a new tab that I didn't recognize named Application, it looks like it is containing all the things that were in the old Resourcestab but not colorful as before(now it's all gray).
What is the difference? Why have they done this? Why it's gray and not colorful?
Chrome have introduced new features as well as keeping all the previous ones from the Resources panel. The new features revolve around Progressive Web Apps, i.e. use of Service Workers. You can read Debug Progressive Web Apps for details on this. Some really useful stuff.
The Resources panel has been renamed to the Application panel. All of the features from the Resources panel are still available in the Application panel. See here

How to change the locale in chrome browser

I want to change Accept-language request header to anything I wanted in chrome, is there any extension or plugin where I can do it. I want to be able to change locale and language both. Main requirement is changing the locale.
Open chrome, go to chrome://settings/languages
On the left, you should see a list of languages. Use mouse to drag the language you want to the top, that will change the order for the values in Accept-language of requests.
If you still don't see the language you prefer, it may be cookies. Go to cookies and clean it up you should be good.
Feb, 2022 Update:
On Chrome, press F12 to open Developer Tools:
Then, press Esc to open another panel which has Sensors tab:
Finally, you can set the Locale like "ja-JP" by choosing the Location, "Tokyo" as shown below:
If there isn't Sensors tab, you can open it from the 3 dots as shown below:
I use this function for testing internationally launched website.
Based from this thread, you need to bookmark chrome://settings/languages and then Drag and Drop the language to make it default. You have to click on the Display Google Chrome in this Language button and completely restart Chrome.
[on hold: broken in Chrome 72; reported to work in Chrome 71]
The "Quick Language Switcher" extension may help too:
https://chrome.google.com/webstore/detail/quick-language-switcher/pmjbhfmaphnpbehdanbjphdcniaelfie
The Quick Language Switcher extension allows the user to supersede the locale the browser is currently using in favor of the value chosen through the extension.
To see what's your current locale, do
Intl.NumberFormat().resolvedOptions().locale
in Dev Tools > console. (more details)
The top answer here is both outdated, and does NOT work in Mac OS (November 2021).
The official answer is available at:
https://developer.chrome.com/docs/extensions/reference/i18n/#how-to-set-browsers-locale
Windows: Using the UI
Here's how to change the locale using the UI on Google Chrome for Windows:
App icon > Options
Choose the Under the Hood tab
Scroll down to Web Content
Click Change font and language settings
Choose the Languages tab
Use the drop down to set the Google Chrome language
Restart Chrome
Mac OS X
To change the locale on Mac, you use the system preferences.
From the Apple menu, choose System Preferences
Under the Personal section, choose International
Choose your language and location
Restart Chrome
Linux
To change the locale on Linux, first quit Google Chrome. Then, all in one line, set the LANGUAGE environment variable and launch Google Chrome. For example:
LANGUAGE=es ./chrome
Chrome OS
To change the locale on Chrome OS:
From the system tray, choose Settings.
Under the Languages and input section, choose the Language dropdown.
If your language is not listed, click Add languages and add it.
Once added, click the the 3-dot More actions menu item next to your language and choose Display Chrome OS in this language.
Click the Restart button that appears next to the set language to restart Chrome OS.
Use ModHeader Chrome extension.
Or you can try more complex value like Accept-Language: en-US,en;q=0.9,ru;q=0.8,th;q=0.7
There is an article written by the devtools team describing how change the location settings in Chrome for testing purposes: https://developers.google.com/web/tools/chrome-devtools/device-mode/geolocation
The easiest way I found, summarized in a few pictures:
You could skip a few steps (up to step 4) by simply navigating to chrome://settings/languages right away.
I know this is a very old post but I was searching for a solution to define language for chrome without even starting it or update the exe shortcut.
It is possible to force a language and a locale for chrome with the registry on windows.
You need 2 keys to be changed WITH ADMIN RIGHTS :
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Google\Chrome]
"ApplicationLocaleValue"="fr"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Google\Chrome\ForcedLanguages]
"1"="fr-FR"
This is forcing the language so all users will not be able to update it with the Chorme UI.
If you need to force a language and be able to modify it with the UI, maybe there is a solution on the official Documentation linked below.
Official Documentation :
ApplicationLocaleValue
ForcedLanguages
Best regards.

Bringing up the soft keyboard in a Windows Phone 8.1 Direct3D app

I'm porting a game to Windows Phone 8.1 using C++/CX with DirectX 11. I need to bring up the soft keyboard for some text input.
Under Windows phone 8, I used the code provided by Microsoft here:
How to handle keyboard input in a Direct3D app for Windows Phone 8
This worked well but none of this code is valid in Windows Phone 8.1 and I've been unable to find any updated information. How can I do this in 8.1?
I need to show/hide the keyboard and listen for keyboard inputs. Popping up a dialog box with a text input element would also be acceptable.
The easy ways:
(on phone, but not desktop) call InputPane.TryShow and TryHide to
explicitly open the input pane out of context from an actual control. You can catch the input in the CoreWindow.CharacterReceived event.
(on either) use a Xaml TextBox on top of your DirectX surface via Xaml DirectX Interop. This
has the advantage of being easy as the Xaml controls already
implement the accessibility and IME interfaces needed for full text
support. It has the disadvantage of being external to the DX scene so
it can require some care to place it nicely.
I generally try to do
the full interactive form in Xaml rather than trying to merge a
single TextBox into a scene. Putting the controls in a Xaml popup like you mention should work nicely.
The hard way:
Implement your own fully functional control by providing the UI Automation text patterns and Text Service Framework (TSF) interfaces. Internally this is what the Xaml text controls do so that they appear to the system as text. When the user sets the focus to a text control (that supports the text patterns) the keyboard will automatically open.

Specific UI for refreshing items in the listbox windows phone

I am familiar with the "pull to refresh" implementation for most of the android apps which implement lists.
I'm wondering if there is any specific UI for refreshing a list for windows mobile apps other than "pull to refresh".
Please suggest.
Thank you.
Many Windows Phone apps now implement pull-to-refresh in lists. The RadDataBoundListBox from Telerik supports it, or you can use some of the implementations available for standard ListBox.

Show a PDF document in a browser without the menu bar

I have a touch screen kiosk that displays a webpage and a pdf document. Can I remove the menu bar? Users must not have "save", "print" and other such features.
Update
random screenshot on flickr - I am refering to the print, back/forward, zoom bar that controls the PDF -- not the browser menu. Sorry for not beeing specific.
OK - you should be able to set up most of that in the pdf document itself.
This is going from the menus in Acrobat Pro 9:
File -> Properties -> Initial View
There are some options there for: Hide menu bar, tool bars, window controls
This has been around in acrobat for a while, so most version should do it.
It is alo possible to set these programmatically if you have the right libraries, but easiest to download a demo of acrobat.
OpenOffice also has options to hide controls and forbid printing under:
File->Export as PDF->User Interface
Unfortunately, you can't modify current PDFs. You'll have to have a Word or OOorg document to export.
You should really use PDF Open Parameters for this.
Good discussion on using IE7 in Kiosk mode:
http://samanathon.com/internet-explorer-7s-kiosk-mode/
If Firefox is on option for you, see this plugin:
R-kiosk
Real Kiosk is a Firefox 2.0 - 3.0 extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home
If you are running a machine with the .net framework you could throw together a windows forms app with an embedded web browser control, which gives you a little more control (how do they go back from pdf without a toolbar or a right click?)
But the quickest option that I have used (done a few touchscreens) is just using IE in kiosk mode, which is easily accomplished with command line switches, and setting that to run fullscreen on windows startup.
u need pdf professional version to do that when you create the pdf file,
File -- Properties -- Initial Vies
check the "Hide menu bar" and "Hide tool bars"
Save
Good Luck
Or just use this open source component and get rid of acrobat reader
http://flexpaper.devaldi.com/