Localising Preference Panes

  • I have a Preference Pane as part of my application which i would like
    to localise into other languages. When I open the NIB file it reports
    << do not localize >> in the window title.
    On the web (http://www.cocoadevcentral.com/articles/000040.php) it
    mentions a different strategy to achieve localisation of Preference
    Panes, but it doesn't go into a lot of detail to localise Preference
    Panes within InterfaceBuilder.

    If you have any suggestion where I can find information on
    localisation of Preference Panes please let me know.

    Regards

    Alexander Hartner
  • Alexander Hartner wrote:

    > I have a Preference Pane as part of my application which i would like
    > to localise into other languages. When I open the NIB file it reports
    > << do not localize >> in the window title.
    > On the web (http://www.cocoadevcentral.com/articles/000040.php) it
    > mentions a different strategy to achieve localisation of Preference
    > Panes, but it doesn't go into a lot of detail to localise Preference
    > Panes within InterfaceBuilder.
    >
    > If you have any suggestion where I can find information on
    > localisation of Preference Panes please let me know.

    I've just been using the normal technique of creating localized NIB
    files. I'm not sure what the real meaning of the <<do not localize>>
    in the window title is, but just as with any other plugin the correct
    set of localization resources is used.
  • Am 14.10.2006 um 21:49 schrieb Gregory Weston:
    > I've just been using the normal technique of creating localized NIB
    > files. I'm not sure what the real meaning of the <<do not
    > localize>> in the window title is, but just as with any other
    > plugin the correct set of localization resources is used.

      I think that only applies to the window title. The reason for this
    is that PrefPanes come from a time when there was no way to save an
    NSView in a NIB as a top-level object. So what you had to do was
    create a dummy window and then "un-root" its contentView and put it
    in whatever window you want to display the view in. So, what this
    probably intends to say is that there's no use localizing the window
    title because its only there as a container in the NIB. Only stuff
    *in* the window is worth localizing, because that will be displayed.

      Just a guess.

    Cheers,
    -- M. Uli Kusterer
    http://www.zathras.de
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