Localized string coming displaying in All Caps

  • I'm using NSLocalizedString(key, comment) in my app, and it's finding
    the text no problem, but it's printing in all caps. I've tried
    messing with encodings, but that has no effect.

    Searching google and the list archives hasn't turned up anything. I'm
    hoping someone here has an inkling of what's going on.

    thanks

    -eric
  • > but it's printing in all caps.

    Is Caps issue raised in Printing(Command -P key  functionality) or in
    Displaying?

    On 17-Oct-06, at 9:49 AM, Eric Blanpied wrote:

    > I'm using NSLocalizedString(key, comment) in my app, and it's
    > finding the text no problem, but it's printing in all caps. I've
    > tried messing with encodings, but that has no effect.
    >
    > Searching google and the list archives hasn't turned up anything.
    > I'm hoping someone here has an inkling of what's going on.
    >
    > thanks
    >
    > -eric
    > _______________________________________________
    > Do not post admin requests to the list. They will be ignored.
    > Cocoa-dev mailing list      (<Cocoa-dev...>)
    > Help/Unsubscribe/Update your Subscription:
    > http://lists.apple.com/mailman/options/cocoa-dev/apparao%
    > 40effigent.net
    >
    > This email sent to <apparao...>
    >
  • You're right, inopportune use of the word "printing". The all caps
    text is displaying on screen when I display it. If I use the same
    text as a literal string instead of the localized string function it
    looks fine.

    thanks

    -e

    On Oct 16, 2006, at 9:42 pm, Apparao wrote:

    >> but it's printing in all caps.
    >
    > Is Caps issue raised in Printing(Command -P key  functionality) or
    > in Displaying?
    >
    > On 17-Oct-06, at 9:49 AM, Eric Blanpied wrote:
    >
    >> I'm using NSLocalizedString(key, comment) in my app, and it's
    >> finding the text no problem, but it's printing in all caps. I've
    >> tried messing with encodings, but that has no effect.
    >>
    >> Searching google and the list archives hasn't turned up anything.
    >> I'm hoping someone here has an inkling of what's going on.
    >>
    >> thanks
    >>
    >> -eric
    >> _______________________________________________
    >> Do not post admin requests to the list. They will be ignored.
    >> Cocoa-dev mailing list      (<Cocoa-dev...>)
    >> Help/Unsubscribe/Update your Subscription:
    >> http://lists.apple.com/mailman/options/cocoa-dev/apparao%
    >> 40effigent.net
    >>
    >> This email sent to <apparao...>
    >>
    >
    > _______________________________________________
    > Do not post admin requests to the list. They will be ignored.
    > Cocoa-dev mailing list      (<Cocoa-dev...>)
    > Help/Unsubscribe/Update your Subscription:
    > http://lists.apple.com/mailman/options/cocoa-dev/<ericb...>
    >
    > This email sent to <ericb...>
  • Check Localizable.strings file under Resources group. Correct format
    for the "simple text" in  Localizable.strings file is as follows:

      "simple text"  = "simple text";

    LHS String is replaced with the RHS while loading corresponding
    Localizable nibs. My assumption is, you specified CAPS string on RHS
    string.

    On 17-Oct-06, at 10:20 AM, Eric Blanpied wrote:

    > You're right, inopportune use of the word "printing". The all caps
    > text is displaying on screen when I display it. If I use the same
    > text as a literal string instead of the localized string function
    > it looks fine.
    >
    > thanks
    >
    > -e
    >
    > On Oct 16, 2006, at 9:42 pm, Apparao wrote:
    >
    >>> but it's printing in all caps.
    >>
    >> Is Caps issue raised in Printing(Command -P key  functionality) or
    >> in Displaying?
    >>
    >> On 17-Oct-06, at 9:49 AM, Eric Blanpied wrote:
    >>
    >>> I'm using NSLocalizedString(key, comment) in my app, and it's
    >>> finding the text no problem, but it's printing in all caps. I've
    >>> tried messing with encodings, but that has no effect.
    >>>
    >>> Searching google and the list archives hasn't turned up anything.
    >>> I'm hoping someone here has an inkling of what's going on.
    >>>
    >>> thanks
    >>>
    >>> -eric
    >>> _______________________________________________
    >>> Do not post admin requests to the list. They will be ignored.
    >>> Cocoa-dev mailing list      (<Cocoa-dev...>)
    >>> Help/Unsubscribe/Update your Subscription:
    >>> http://lists.apple.com/mailman/options/cocoa-dev/apparao%
    >>> 40effigent.net
    >>>
    >>> This email sent to <apparao...>
    >>>
    >>
    >> _______________________________________________
    >> Do not post admin requests to the list. They will be ignored.
    >> Cocoa-dev mailing list      (<Cocoa-dev...>)
    >> Help/Unsubscribe/Update your Subscription:
    >> http://lists.apple.com/mailman/options/cocoa-dev/<ericb...>
    >>
    >> This email sent to <ericb...>
    >
    > _______________________________________________
    > Do not post admin requests to the list. They will be ignored.
    > Cocoa-dev mailing list      (<Cocoa-dev...>)
    > Help/Unsubscribe/Update your Subscription:
    > http://lists.apple.com/mailman/options/cocoa-dev/apparao%
    > 40effigent.net
    >
    > This email sent to <apparao...>
    >
  • Perhaps you have one of NSShowNonLocalizedStrings or
    NSShowNonLocalizableStrings set in your preferences.  See the bottom
    of this document:

    http://developer.apple.com/documentation/MacOSX/Conceptual/BPInternational/
    Articles/StringsFiles.html


    NSCells also look at NSShowNonLocalizableStrings during on-screen
    display.

    Chris Kane
    Cocoa Frameworks, Apple

    On Oct 16, 2006, at 9:19 PM, Eric Blanpied wrote:

    > I'm using NSLocalizedString(key, comment) in my app, and it's
    > finding the text no problem, but it's printing in all caps. I've
    > tried messing with encodings, but that has no effect.
    >
    > Searching google and the list archives hasn't turned up anything.
    > I'm hoping someone here has an inkling of what's going on.
    >
    > thanks
    >
    > -eric
    > _______________________________________________
    > Do not post admin requests to the list. They will be ignored.
    > Cocoa-dev mailing list      (<Cocoa-dev...>)
    > Help/Unsubscribe/Update your Subscription:
    > http://lists.apple.com/mailman/options/cocoa-dev/<ckane...>
    >
    > This email sent to <ckane...>
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today