TotalFinder Internationalization (totalfinder.binaryage.com)
TotalFinder is a plugin for Apples's Finder.app which brings tabs, dual panels and more! This project gathers localizable resources.
TotalFinder is not an open-source, but you should be still able to easily tweak resource files and add your preferred language.
The idea is to install TotalFinder and then sym-link its Resources
folder to the copy of this repository where you can edit it.
When you are satisfied with your work, you should push your changes back to GitHub. I will then incorporate your work into next TotalFinder release.
You may want to read TotalFinder opened for localization blog post to get an idea why I like GitHub for this.
- Read something about git version control system. Here is the best place to start.
- Get familiar with GitHub. They have also nice docs.
- Create GitHub user and don't forget to setup your local git user so your commits are linked to your GitHub account.
- See how others are working on TotalFinder localization.
- fork this project on GitHub
- clone your fork (let's assume you have it in
~/totalfinder-i18n
) - make sure you have installed latest TotalFinder version
cd ~/totalfinder-i18n
and run./dev.sh
- edit files
- use
./restart.sh
to restart TotalFinder to reflect your changes - commit if needed
- goto 1
- push to github and send a pull request to darwin (please don't try to send pull requests to binaryage - it is an organisation)
- (optional) run
./undev.sh
to return to unaltered TotalFinder state (this won't delete your files, it will just unlink sym-linked folder)
I have created MYLANGUAGE.lproj and modified string files. I've restarted the Finder.app, but I don't see my localization. What's wrong?
And do you see Finder.app in MYLANGUAGE? First, double check you have MYLANGUAGE as top-most language in the
System Preferences > Language & Text > Language
list. Second, please note that TotalFinder is a plugin for Finder.app and it inherits preferred language from Finder.app. Finder.app does not pick MYLANGUAGE in case there is not language folder present here/System/Library/CoreServices/Finder.app/Contents/Resources/MYLANGUAGE.lproj
. You may create empty folder by hand or you may fix this by runningsudo rake normalize
task, which will create missing folders in/System/Library/CoreServices/Finder.app/Contents/Resources
according to language folders available in TotalFinder's Resources. Hope this helped.
Please make sure you have the latest XCode from Apple. Download and compile ShortcutRecorder project. It will give you an Interface Builder plugin for ShortcurRecorder control. No you can open XIB and modify it. TotalFinder uses nibs, to compile them please run
./compile.sh
.
Although it is possible to copy XIB into language folder and make it language-specific I prefer to keep one shared XIB file for all languages. I'm using technique for defining flexible areas to fit different languages as described here. Please see the
TotalFinder.xib
where it is already used on several places in the Preferences Window.
Each contributor in http://github.com/binaryage/totalfinder-i18n/contributors will get a free TotalFinder license. Please note that you will appear there with delay and only if your commits are properly recognized as authored by your github's account. You have to setup your local git user properly.
To be clear. Please note that:
- I may not accept changes in your fork
- You are contributing your work under MIT license
- You may want to explore Network Graph to see if someone has not already been working on your language