Skip to content

Yann-R/totalfinder-i18n

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TotalFinder Internationalization

TotalFinder is a plugin for Apple's Finder.app which brings tabs, dual panels and more! This project gathers localizable resources.

Do you want to translate TotalFinder into your language?

You can tweak resource files and add your preferred language.

The idea is to install TotalFinder and then symlink its Resources folder to the copy of this repository where you can edit it. You should push your changes back to GitHub and I will then incorporate your work into next TotalFinder release.

You may want to read TotalFinder opened for localization blog post.

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 TotalFinder localization.

The Workflow

Initial step

  1. fork this project on GitHub
  2. clone your fork (let's assume you have it in ~/totalfinder-i18n)
  3. make sure you have installed latest TotalFinder version
  4. cd ~/totalfinder-i18n and run ./bin/dev.sh

Development

  1. edit files
  2. validate your changes with rake validate (before first run execute sudo gem install cmess colored mg to install supporting library)
  3. use ./bin/restart.sh to restart TotalFinder 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 to return to unaltered TotalFinder 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 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 if /System/Library/CoreServices/Finder.app/Contents/Resources/MYLANGUAGE.lproj does not exist. You may create empty folder by hand or you may fix this by running sudo 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.

Thank you!

Every 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:

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

License: MIT-Style

About

Localization for TotalFinder

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 87.1%
  • AppleScript 7.8%
  • Shell 5.1%