• 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: Localize WOLips project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localize WOLips project


  • Subject: Re: Localize WOLips project
  • From: Helmut Schottmüller <email@hidden>
  • Date: Sun, 13 Apr 2008 10:35:37 +0200

Hi TIA,

very simple and Apple Style as usual...
Just add the language resources you need in your Resources folder. I for example have a


German.lproj and
English.lproj

Inside these folders add your Localizable.strings file with the key- value-pairs for the localized strings (if you use Unicode encoding in your application, please make sure that the localized.strings files are UTF-16 encoded).

In the Application constructor you should set your default language using

  ERXLocalizer.setDefaultLanguage("German");

In the component bindings simply use

session.localizer.YOUR_LANGUAGE_ENTRY_KEY

in the code

session().localizer().valueForKey("YOUR_LANGUAGE_ENTRY_KEY")

If you need to offer localized components with a bit more than some localized language entries, you may create the components in the Resource/LANGUAGE.lproj directory for every language you use.

I am sure there is also an article in the Confluence Wiki about that (http://wiki.objectstyle.org ).

Regards,
Helmut


Am 12.04.2008 um 21:14 schrieb Rams:
Hi all,

Can anyone point me in the direction of information regarding how to localize a WOLips project. The process was fairly straightforward in xcode, but I can't seem to find any info on WOLips. I would like to know how to localize components as well as strings.

TIA

--
Learn how to secure your email
(Mac OS X 10.3+) http://www.joar.com/certificates/
(Windows) http://www.marknoble.com/tutorial/smime/smime.aspx


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Localize WOLips project
      • From: Cail Borrell <email@hidden>
References: 
 >Localize WOLips project (From: Rams <email@hidden>)

  • Prev by Date: Re: I moved my server, changed ip and now..
  • Next by Date: Re: Staying with WebObjects
  • Previous by thread: Localize WOLips project
  • Next by thread: Re: Localize WOLips project
  • Index(es):
    • Date
    • Thread