Multilingual support - best practice

7 posts, 0 answers
  1. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 27 Aug 2013 Link to this post

    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


  2. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 28 Aug 2013 Link to this post

    Don't tell me no one ever used Icenium to build multi lingual apps!

    Markus
  3. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 29 Aug 2013 Link to this post

    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.
  4. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 29 Aug 2013 Link to this post

    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

  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 02 Sep 2013 Link to this post

    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.
  6. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 02 Sep 2013 Link to this post

    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
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 02 Sep 2013 Link to this post

    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.
Back to Top