I have a Xamarin forms App (iOS, Android & UWP) and, on the settings of my App, the user can choose the language they want to use in the app.
The App is already able to "translate" the texts, date format, and number format, but I don't know how to change the keyboard's idiom.
I already tried the methods below but it didn't work
Thread.CurrentThread.CurrentCulture = new CultureInfo.GetCultureInfo("en-US");
Thread.CurrentThread.CurrentUICulture = new CultureInfo.GetCultureInfo("en-US");
Use case:
The user is from German, and he uses Deutsch as a default language on his device. However, he defined on the App settings (inside my App) the English Language.
When the user needs to input a text in an Edit Text (Editor or Entry), the keyboard layout needs to be English instead of Deutsch.
Is it possible with Xamarin?
After a bit of research I did not find any way to switch between language keyboards in a simple manner, by the other hand I found this in order to create your own custom keyboard with the language you wish with PageRenderer.
Related
I followed this guideline to make my app available in multiple languages: https://developer.xamarin.com/guides/xamarin-forms/advanced/localization/
I added a picker so the user can change his language whenever he wants but there is a small problem.
When the device language is English and the user swaps to French, my picker will stay in English as it is the system language (It says 'done' and 'cancel')
Is it possible to change that language to the language that my user selected?
I need to implement some pop-up dialogs in sitecore. The popups are used in an existing angular site and I would like to reuse as much as possible.
Use case: From a sitecore form activate the dialog, init the dialog with data from the sitecore field. If the user presses OK, then write back the new value to the site core field.
I know that sitecore has an IFrame type but I know that the browser will not allow me to write back to the parent window from a site in another domain.
So what options do I have?
It is possible to communicate cross iframes and cross domains by posting it between, see example here
I have Facebook application that has non English native language, but when I create and use open graph actions and objects they appear English. I can not change action texts to my native language because it does not accept my characters and because native language is not english I can not translate it.
How can I use and see open graph actions and objects in my native language?
Go to your app settings page under https://developers.facebook.com/apps/, edit your app settings – on the left you should find a link saying „translate your app” (or something similar, I'm currently using the german interface), it's currently the second link from bottom.
And https://developers.facebook.com/docs/internationalization/ explains the whole process.
I am using the Collection extension for MediaWiki to allow for generation of PDF books based on content located in my wiki. When I am logged out of my wiki, the extension works fine and the sidebar on the Main Page contains:
Print/export
Create a book
Download as PDF
Printable version
However when I log in the sidebar contains:
coll-print_export
<coll-create_a_book>
<coll-download_as>
Printable version
I've verified that the tokens' translations for coll-print_export, coll-create_a_booklet and coll-download_as exist, along with their associated tooltip entries, in the 'en' messages array, and that my system and profile language are set to en.
Nevertheless, the display when I am logged in is the language token, not the translation. I've tested logins with multiple users as well. The issue seems isolated to the Collection extension, as every other part of the sidebar works as expected. Also, note that while Printable Version appears under the print/export menu, it appears to not be defined as part of Collection, and it appears to be working fine.
Any assistance or advice for where I can look to identify the resolution for this problem is appreciated.
Because it only happens when you login, I suspect it depends on your preferences, probably your interface language. As Christian said, it's likely to be cache for the system messages.
Try php maintenance/rebuildLocalisationCache.php --force. https://www.mediawiki.org/wiki/Manual:RebuildLocalisationCache.php
Trying to understand from a high-level how this would be accomplished.
Use case:
Flash application embedded in HTML used to create Certificates (just an example).
User enters a bunch of data into a form (Name, Address, What certificate is for, etc.).
User clicks a button which causes the application to create a Certificate in PDF form, with the form data displayed in a format that I define with a bunch of different images).
Ideally, Flex could use the browsers functionality to prompt the user with "What would you like to do with this document, 'Download', 'Open'. So it would function just like clicking on a link to a PDF document inside of a web page.
I already have the form and everything, its just a matter of how I create a PDF from that data. Is there a certain function that can take the current screen and create a PDF image of it? Or is there a certain library for creating PDFs? If anyone can point me in the right direction it would be much appreciated.
There is a AS3 PDF generator library called AlivePDF and can be found here.
Purepdf
is another actionscript library for creating Pdf file.