iOS Question multilanguage Lib For Ios

Discussion in 'iOS Questions' started by imbault, Apr 12, 2015.

  1. imbault

    imbault Well-Known Member Licensed User

    Is there any lib or class to make a multilanguage App for B4i like AHLocale Lib for B4a ?
    It would be very usefull.

    Thx

    Patrick
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can save the string resources in a text file and load them with File.ReadMap. The format is quite simple to work with.
     
  3. imbault

    imbault Well-Known Member Licensed User

    Erel, where is the string resources located? is it within a file?
    Handle of date formats?
    How to know the language used on the Ios device?
     
    Last edited: Apr 13, 2015
  4. Erel

    Erel Administrator Staff Member Licensed User

  5. imbault

    imbault Well-Known Member Licensed User

    Thanks Erel, so you mean for string, I have to do it programmatically like:
    Code:
    button1.Text ="Envoyer"
    'becomes
    button1.Text = getLocale("Envoyer")

    Sub GetLocale(s as string)
    ...
    End sub
     
  6. Filippo

    Filippo Expert Licensed User

    Maybe it helps further this post.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice