Skip to content
This repository has been archived by the owner on Dec 16, 2017. It is now read-only.

bowiechen/totalspaces2-i18n

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TotalSpaces2 Internationalization (totalspaces.binaryage.com)

TotalSpaces2 is an app that brings grid spaces to OSX. This project gathers localizable resources.

Do you want to translate TotalSpaces2 into your language?

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.

Where to start?

  1. Read something about git version control system. Here is the best place to start.
  2. Get familiar with GitHub. They have also nice docs.
  3. Create GitHub user and don't forget to setup your local git so your commits are linked to your GitHub account.
  4. See how others are working on TotalSpaces2 localization.

The Workflow

Initial step

  1. fork this project on GitHub
  2. clone your fork (let's assume you have it in ~/totalspaces2-i18n)
  3. make sure you have installed latest TotalSpaces2 version
  4. cd ~/totalspaces2-i18n and run ./bin/dev.sh langname - where langname should be the two character language code from ISO 639-1

Development

  1. edit files
  2. validate your changes with rake validate (before first run execute sudo gem install cmess to install supporting library - you may also need to gem install iconv)
  3. use ./bin/restart.sh to restart TotalSpaces to reflect your changes
  4. commit if needed - you can ./bin/commit.sh
  5. goto 1

Final step

  1. push to github and send a pull request
  2. (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)

Questions?

What encoding should I use for my files?

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.

May I alter dimensions in the UI to fit my language?

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.

Thank you!

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:

  1. It is not guaranteed that I will accept changes in your fork
  2. You are contributing your work under MIT style license
  3. You may want to explore Network Graph to see if someone has been already working on your language

License: MIT-Style

About

TotalSpaces2 Internationalization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 44.9%
  • Ruby 36.1%
  • Shell 10.2%
  • AppleScript 8.8%