Localizing Inside a Spotlight Importer

  • I have the following inside a Spotlight importer in order to localize the
    value of Book:

    [[NSBundle bundleWithIdentifier:@"com.bruji.pediaimporter"]
    localizedStringForKey:@"Book" value:@"Book" table:@"schema"];

    But I always get the English value inside the schema.strings file. It seems
    that mdimport always runs in English and therefore returns that
    schema.strings resource in English. Is there a trick to localizing for
    Spotlight plug-ins? Any tips will be appreciated.

    Regards,
    Conor
previous month october 2007 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