Where do the language indicator icons live in OSX? [duplicate]

I probably should elaborate. I'm looking for the icons for the keyboards (the flags and the cutout-of-white icons used for Japanese/Chinese/that one used for custom inputs). I did some poking around and couldn't find them. If you find them please post an answer. I really need these for something.


Solution 1:

The flag icons are located in the file /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat. The .dat file can be opened/read with the GraphicConverter app.

The .dat file is a flag "database". To access the single flags in GraphicConverter use the pages drop-down menu at the bottom right of the main window.


Several input method icons (e.g. PNGs, TIFFs) can be found at /System/Library/Input Methods/Input_method.app/Contents/Resources/... with Input_method.app one of the various IM.apps in /System/Library/Input Methods.

The Custom Input icon may be this one: /System/Library/Input Methods/PluginIM.app/Contents/Resources/Custom.tiff.