Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: john833 on Mar 12, 2013, 09:18 pm

Title: ide language
Post by: john833 on Mar 12, 2013, 09:18 pm
hi everyone
i want translate ide menu to my own language(persian) anybody can help me?
which source file must be change?
Title: Re: ide language
Post by: Coding Badly on Mar 12, 2013, 09:51 pm

I think it was discussed on the Developers List...
https://www.google.com/search?q=language+site:arduino.cc%2Fpipermail
Title: Re: ide language
Post by: spatula on Mar 12, 2013, 09:54 pm
If you are using 1.0.3. there is already a translation available, see "Editor language" in the Preferences window. If you think it's not accurate you should contact the developers and suggest your changes. Or you can download the source code from github and look for a file named Resources_fa.properties, make your changes and submit them to the developers.
Title: Re: ide language
Post by: john833 on Mar 12, 2013, 10:23 pm
very very thanks for ur answer spatula i found  Resources_fa.properties
how can i edit this file?
which editor must i use?
Title: Re: ide language
Post by: spatula on Mar 12, 2013, 10:35 pm
Any text editor (with unicode support) would be fine. The file is part of the source package, so if you make any changes you'll then have to rebuild the IDE. It shouldn't be difficult if you have knowledge of Java and of its build tools (ant in particular), but I've never done it. I guess that all the properties files are zipped into a jar (I don't know which one), that you can then replace in your IDE directory. There are also the .po files which should be automatically generated by Java gettext. The Arduino website has instructions on how to build the IDE from source.
Title: Re: ide language
Post by: john833 on Mar 12, 2013, 10:41 pm
thx i found .po file n open it n big problem is how can rebuild ide?
Quote
The Arduino website has instructions on how to build the IDE from source.

do u have any link?
Title: Re: ide language
Post by: spatula on Mar 12, 2013, 10:49 pm
Sure: http://code.google.com/p/arduino/wiki/BuildingArduino (http://code.google.com/p/arduino/wiki/BuildingArduino).