This is a migrated thread and some comments may be shown as answers.

Multilingual support - best practice

6 Answers 179 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Markus
Top achievements
Rank 2
Markus asked on 27 Aug 2013, 10:03 AM
I am on my first app and actually am off to a good start :-)

One thing I would like to know is the best practice for globalization of an app.

I implemented a function which lets the user choose a language.

What I now want is an easy managable way to have loclisation.

In my web apps .net this would be .resx files. Telerik pointed me to this link http://stackoverflow.com/questions/9535258/multi-language-html5-application


However this seems to me to be a bit cumbersome if you have 1000 things to translate (which I don't have).

can strings.xml files be used as described in http://developer.android.com/guide/topics/resources/localization.html
somehow.

I guess someone must have made a multi-lingual app and care share his/her findings and best practis.

Looking forward to your feedback and if possible some code examples :-)

Markus


6 Answers, 1 is accepted

Sort by
0
Markus
Top achievements
Rank 2
answered on 28 Aug 2013, 08:33 AM
Don't tell me no one ever used Icenium to build multi lingual apps!

Markus
0
Steve
Telerik team
answered on 29 Aug 2013, 01:19 PM
Hello Markus,

The article you point to is for native Android app, while you do not currently have access to res/values/strings.xml in Icenium. We would consider exposing these files, to further improve the control users have over their apps. You can suggest this over our feedback portal.

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Markus
Top achievements
Rank 2
answered on 29 Aug 2013, 01:30 PM
Dear Steve 

Thanks for the feedback. I know that the link with the strings.xml was native Android. But somtimes its not so bad to see how others do it. 

So at the moment I am simply stuck with the recomended: http://stackoverflow.com/questions/9535258/multi-language-html5-application approach?

This got to be very high on the to do list for Icenium.

Develop Apps in iOS and Android but only one language!

Any one else comming up with a good idea?
Any one else has actually made a multilingual app with Icenium?

Markus

0
Steve
Telerik team
answered on 02 Sep 2013, 01:47 PM
Hi Markus,

I suspect that your confusion comes from the fact that you come from .NET background, where the framework does those things for you. However in HTML 5 app, there is no such framework to back you up as your app is basically ran by the browser.

So to summarize, irrelevant of whether your localization would be contained in .js or .xml files, you would need to handle the localization logic yourself as shown in the SOF link we referred to you. There are some js libraries out there that can assist you with this task e.g.: l10n.

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Markus
Top achievements
Rank 2
answered on 02 Sep 2013, 01:50 PM
Dear Steve

Not confused just beeing put back 30 years to word for DOS.

Thank's for linking again. However if Icenium would implement some kind of easy way to localize an app I would assume this would be a huge selling point.

Markus
0
Steve
Telerik team
answered on 02 Sep 2013, 01:53 PM
Hi Markus,

Icenium is basically IDE and build services in the cloud, so such feature have to be made available either from Cordova or from external .js library such as Kendo UI.

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussion
Asked by
Markus
Top achievements
Rank 2
Answers by
Markus
Top achievements
Rank 2
Steve
Telerik team
Share this question
or