• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Handling projects with several XIBs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling projects with several XIBs


  • Subject: Re: Handling projects with several XIBs
  • From: Tobias Jordan <email@hidden>
  • Date: Mon, 2 Nov 2009 14:47:57 +0100

Thanks Alex and Peter. Your link to Wil's blog post is exactly what I was looking for.

Best regards,
Tobias Jordan.

On Nov 2, 2009, at 2:08 PM, Peter Ilberg wrote:

The other day, Wil Shipley shared his solution to the localization problem:

http://wilshipley.com/blog/2009/10/pimp-my-code-part-17-lost-in.html

-- Peter


On Nov 2, 2009, at 12:50 PM, Alexander Spohr wrote:


Am 02.11.2009 um 11:55 schrieb Tobias Jordan:

The problem I am currently having is that when updating the interface I have to a) make my changes to every localization (en, ge, fr, jp, etc.) or b) re-create all of the localizations which isn't that easy to handle since I am not the one translating everything.

That is how you do it for localized nibs.

Both ways are really time-consuming and I was wondering if there's a way to define some placeholders for strings and other resources such as images or sth. like that.

Alternatively you can use just one nib and replace the values using NSLocalizedString(). But you have to watch out for the lengths and sizes in different languages.


What's the most fastest and efficient way?

It depends on what you goal is.
a & b) are best if you want to have nice sized buttons in all languages
NSLocalizedString is easier to implement and to translate but the final look might get gruesome.


	atze


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Handling projects with several XIBs (From: Tobias Jordan <email@hidden>)
 >Re: Handling projects with several XIBs (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: Binding problem : getter not called when property change
  • Next by Date: Re: Binding problem : getter not called when property change
  • Previous by thread: Re: Handling projects with several XIBs
  • Next by thread: Re: Handling projects with several XIBs
  • Index(es):
    • Date
    • Thread