TotalSpaces2 Internationalization (totalspaces.binaryage.com)
TotalSpaces2 is an app that brings grid spaces to OSX. This project gathers localizable resources.
You can tweak resource files and add your preferred language.
The idea is to install TotalSpaces2 and then symlink its langname.lproj folder to the copy in this repository where you can edit it. You should push your changes back to GitHub and I will then incorporate your work into next TotalSpaces2 release.
- 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 so your commits are linked to your GitHub account.
- See how others are working on TotalSpaces2 localization.
- fork this project on GitHub
- clone your fork (let's assume you have it in
~/totalspaces2-i18n
) - make sure you have installed latest TotalSpaces2 version
cd ~/totalspaces2-i18n
and run./bin/dev.sh langname
- where langname should be the two character language code from ISO 639-1
- edit files
- validate your changes with
rake validate
(before first run executesudo gem install cmess
to install supporting library - you may also need to gem install iconv) - use
./bin/restart.sh
to restart TotalSpaces to reflect your changes - commit if needed - you can
./bin/commit.sh
- goto 1
- push to github and send a pull request
- (optional) run
./bin/undev.sh langname
to return to unaltered TotalSpaces state (this won't delete your files, it will just unlink sym-linked folder)
Please always use UTF-8. Other encodings will probably fail to load or you will see wrong characters. Run
rake validate
task to check your files.
I have created MYLANGUAGE.lproj and modified string files.
I've restarted the TotalSpaces2.app, but I don't see my localization. What's wrong?
Double check you have MYLANGUAGE as top-most language in the
System Preferences > Language & Text > Language
list.
Not at present. I'm using technique for defining flexible areas to fit different languages as described here. But if the text overflows the area available, you should try to find a shorter way to express it. In dire cases please contact me and I will try to help.
Every contributor in http://github.com/binaryage/totalspaces2-i18n/contributors will get a free TotalSpaces2 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:
- It is not guaranteed that I will accept changes in your fork
- You are contributing your work under MIT style license
- You may want to explore Network Graph to see if someone has been already working on your language