• 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: ERModern* and localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERModern* and localization


  • Subject: Re: ERModern* and localization
  • From: David Avendasora <email@hidden>
  • Date: Thu, 21 Oct 2010 09:46:19 -0400

Hey Johan,

I had the same problem to start with. They are handled by the Localizable.strings instead of rules (yeah, weird, I know)

For Example in Resources/English.lproj/Localizable.strings I have:

	"Pages.QueryAccount" = "Search for Accounts";

In Resources/Spanish.lproj/Localizable.strings I have:

	"Pages.QueryAccount" = "Buscar para Los Cuentas";

Dave

On Oct 21, 2010, at 9:28 AM, Johan Henselmans wrote:

> I might say I really like the way ERModernLook…looks.
>
> One question that remains for me how localization is taken care of:
>
> I added
>
> # Localization
> ERXLanguages = (en,nl)
> er.extensions.ERXLocalizer.defaultLanguage=English
> er.extensions.ERXLocalizer.useLocalizedFormatters=true
> er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings")
> er.extensions.ERXLocalizer.availableLanguages=(English,Dutch)
> #er.extensions.ERXLocalizer.frameworkSearchPath=(app,ERModernDirectToWeb,ERDirectToWeb,ERExtensions)
>
> er.extensions.ERXLocalizer.English.locale = en
> er.extensions.ERXLocalizer.Dutch.locale = nl
>
> to the Properties, and Localizable.strings in Dutch.lproj and English.lproj tend to work for the navigation menu items, but I noticed that some of the stuff does not localize by default:
>
> For instance, there if I have a queryPageForEntityNamed it still tells "Query [Entity Name]", and editPageForNewObjectWithEntityNamed it tell "Create [Entity Name]".
>
> I'd like to be able to replace
> Query with 'Zoek'
> and
> Create with "Maak"
>
> for instance.
>
> I could not find a way to localize these terms nor the entityNames, like Ramsay Gurley does in his R2D2W framework and templates, where one can add in Localizable.strings
>
> (eg)
> "Entity.name.Performance" = "Voorstelling";
>
> Have I overlooked something? Plans in that direction?
>
> (that was the dutch lesson for today).
>
>
> Johan Henselmans
> email@hidden
>
>
>
> _______________________________________________
> 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
>
>

 _______________________________________________
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: ERModern* and localization
      • From: Anjo Krank <email@hidden>
    • Re: ERModern* and localization
      • From: David LeBer <email@hidden>
References: 
 >ERModern* and localization (From: Johan Henselmans <email@hidden>)

  • Prev by Date: ERModern* and localization
  • Next by Date: Re: ERModern* and localization
  • Previous by thread: ERModern* and localization
  • Next by thread: Re: ERModern* and localization
  • Index(es):
    • Date
    • Thread