I have several languages/keyboard layouts on my Mac-pro (Yosemite). I want to write in Armenian/Bengali/Hebrew and so on. These keyboards/languages are formally part of Mac's Yosemite so I have no problem in using them in the app Pages (say). Is a similar use possible with (Xe)LaTeX? I.e. is it possible for a Yosemite user to open a TeX editor and simply switch between the languages/keyboards available in Mac's Yosemite and the output looks reasonable (i.e. not thousands of boxes and question marks).
To be clear, the solution should be quite general. For instance, the Polyglossia package does not support all languages the Mac's Yosemite do. Also some other solutions require you input your text in latin which then is converted by XeLaTeX (or something else?), this is a horrible solution!
I want to input as I wish and make TeX recognize that and print it.