How to handle localization

Coding Questions, IDE related or anything else

How to handle localization

Postby tanzanite » Thu Apr 15, 2010 12:46 am

How do you handle localization of strings in objective-basic?

I would like my app to run in a few different languages. Is it necessary to recode, or are there ways to handle multiple localizations?
tanzanite
 
Posts: 9
Joined: Thu Apr 01, 2010 5:46 am
Location: Mexico

Re: How to handle localization

Postby berndnoetscher » Thu Apr 15, 2010 9:26 am

tanzanite wrote:How do you handle localization of strings in objective-basic?

I would like my app to run in a few different languages. Is it necessary to recode, or are there ways to handle multiple localizations?


I am sorry, but this is not supported yet, but it will work like in Objective-C.

For each language, you will have a copy of each nib file of your project.
Strings in code are recognized automatically, and a text file containing strings, which need to be translated will be presented.

If you cannot wait, you could create a global function Tr(String), which is called by each string occurance in code and make it returning the right translation by using a Dictionary or see. If you need help, just ask.
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am

Re: How to handle localization

Postby tanzanite » Thu Apr 15, 2010 3:16 pm

It is good to know that this is coming. About how far in the future will it be for this to be implemented, if it is possible to say?
tanzanite
 
Posts: 9
Joined: Thu Apr 01, 2010 5:46 am
Location: Mexico

Re: How to handle localization

Postby berndnoetscher » Thu Apr 15, 2010 7:59 pm

tanzanite wrote:It is good to know that this is coming. About how far in the future will it be for this to be implemented, if it is possible to say?


Might be available in Mid 2010.
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am


Return to Objective-Basic (Xcode 3)

Who is online

Users browsing this forum: No registered users and 1 guest

cron