Amirul Momenin
Posts: 0
Joined: Tue Apr 08, 2014 3:42 am

i18n example in iconic app

i18n example in iconic app
let me know how that work

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

i18n example in iconic app

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...

Amirul Momenin
Posts: 0
Joined: Tue Apr 08, 2014 3:42 am

i18n example in iconic app

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

Amirul Momenin
Posts: 0
Joined: Tue Apr 08, 2014 3:42 am

i18n example in iconic app

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

i18n example in iconic app

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.

Return to “Issues”