This question is locked. New answers and comments are not allowed.
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
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
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
Markus
0
Hello Markus,
The article you point to is for native Android app, while you do not currently have access to
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.
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
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
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.
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
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
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.
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.