Page 1 of 1

i18n example in iconic app

Posted: Thu Apr 13, 2017 10:23 am
by Amirul Momenin

i18n example in iconic app
let me know how that work


i18n example in iconic app

Posted: Thu Apr 13, 2017 11:32 am
by Serhii Kulibaba

Hello Amirul,

Please look at the example here how to add a multi language functionality into your Ionic application: https://blog.appery.io/2016/03/develo...


i18n example in iconic app

Posted: Fri Apr 14, 2017 3:42 am
by Amirul Momenin

its ok
But I cant switch the language
what is the code to switch and where to write
suppose I want "de"


i18n example in iconic app

Posted: Fri Apr 14, 2017 6:11 am
by Amirul Momenin

Hi,
How will I switch from front end?
any example?


i18n example in iconic app

Posted: Sat Apr 15, 2017 7:26 pm
by Illya Stepanov

Hello Amirul,

As shown in the example one option is to customise the translation mechanism to initiate the language based on the browser or device language. For example, you can get the browser or device language like this:

pre
code$translateProvider.determinePreferredLanguage();/code
/pre

Or you can create your own function for your specific case.