• 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: String Tables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String Tables


  • Subject: Re: String Tables
  • From: Dave DeLong <email@hidden>
  • Date: Fri, 06 Aug 2010 10:05:29 -0600

Sometimes a word in your original language can have multiple translations, depending in the context. Where I work, we use symbolic keys so that we can allow for context-sensitive translations.

Dave

Sent from my iPhone

On Aug 6, 2010, at 9:50 AM, Richard Somers <email@hidden> wrote:

> String table entrys have the following form.
>
>     "Key1" = "Value1"
>
> There appears to be two different ways to approach naming the keys.
>
> The first way is to use a literal key where the key and value are equal for the primary language.
>
>     /* Ask user a question. */
>     "Do you need help?" = "Do you need help?"
>
> The second way is to use a symbolic key.
>
>     /* Ask user a question. */
>     "TOOLTIP_QUESTION" = "Do you need help?"
>
> As an example look at Apple's Keynote application Localizable.strings file and you will see both types of keys used.
>
> It appears that literal keys would easier to translate because no cross referencing would be required. Why then are symbolic keys also used?
>
> --Richard
>
> _______________________________________________
>
> 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
_______________________________________________

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

  • Follow-Ups:
    • Re: String Tables
      • From: Jerry Krinock <email@hidden>
References: 
 >String Tables (From: Richard Somers <email@hidden>)

  • Prev by Date: keyboard shortcut for segments of a segmented control?
  • Next by Date: Re: String Tables
  • Previous by thread: String Tables
  • Next by thread: Re: String Tables
  • Index(es):
    • Date
    • Thread