Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

uaecasher

macrumors 65816
Original poster
Jan 29, 2009
1,289
0
Stillwater, OK
hello, i was wondering if it is possible to add language packages i.e(arabic). if it's possible which language to program it and is it legal?
 

uaecasher

macrumors 65816
Original poster
Jan 29, 2009
1,289
0
Stillwater, OK
sorry for not being clear i want to make a language translation like the one apple include in mac os x for german, Japanese etc.

thank you
 

wrldwzrd89

macrumors G5
Jun 6, 2003
12,110
77
Solon, OH
Apple doesn't allow adding language translations to Mac OS X. However, you CAN add translations of program text to your own programs. This is perfectly okay, and doesn't require a specific programming language. You need only a bunch of files to store all the strings, and a way of fetching the right string based on some identifier and the language the user selected to run the program in. Apple provides both of these mechanisms for you, if you're using Xcode.
 

uaecasher

macrumors 65816
Original poster
Jan 29, 2009
1,289
0
Stillwater, OK
Apple doesn't allow adding language translations to Mac OS X. However, you CAN add translations of program text to your own programs. This is perfectly okay, and doesn't require a specific programming language. You need only a bunch of files to store all the strings, and a way of fetching the right string based on some identifier and the language the user selected to run the program in. Apple provides both of these mechanisms for you, if you're using Xcode.

too bad :( i can't add translations what if i did it for my own use i,e (not distribute it)

thank you
 

wrldwzrd89

macrumors G5
Jun 6, 2003
12,110
77
Solon, OH
too bad :( i can't add translations what if i did it for my own use i,e (not distribute it)

thank you
Let me put it to you this way: Adding a language translation to the OS itself is WAY more complicated than it may at first appear. The reason is quite simple. Poke around in the /System/Library folder, and you'll find a whole bunch of folders inside, with yet more folders inside those. Virtually all of these contain resource files with the various translated texts in them. Not only would you have to translate all these into whatever language you were targeting (and put the translations in the right spot, with the names Mac OS X is expecting), you also have to tell Mac OS X that the translations exist so that it can use them.
 

ozontheroad

macrumors 6502
Aug 4, 2006
293
0
the reef
AFAIK there is an arabic translation available for OS X, i don't know if it's included or if you need to buy it separately. I saw it at my local apple shop last week.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.