Skip to content

soundasleep/collate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collate

Collate is an open source translation collation tool.

Rationale

If you are running an open source project, getting high quality, appropriate translations is often an issue. But, there are already huge repositories of open source translations available.

Rather than trying to solve the same problem over and over, it would be awesome if we could decentralize translation and share the load throughout the open source universe. We don't need to translate the same thing hundreds of times, allowing translators to focus on translating the phrases that actually need to be translated.

We only look for sources that are GPL-3.0 compatible, meaning that all generated translations are licensed under GPL-3.0.

Goals

  1. A repository of open source projects with appropriate licenses
  2. Tools to download and extract open source translations
  3. Tools to help rank and evaluate open source projects for quality and relevance
  4. Repositories of default language packs that can be quickly imported into any project (Rails, PHP, Java, ...)
  5. Generate your own language packs with configurable goals and license compatibility
  6. Define your own translations that can be imported into your language pack

TODO

  1. Can we only check out the head of a Git repo rather than the entire thing?
  2. Reduce max string length to 256
  3. Can we import dictionaries for single words as a good baseline?
  4. Can we automatically capitalize for fuzziness e.g. "home" <=> "Home"

Features

TODO

Design

Loading sources

Sources are defined in sources/.

TODO have an API to load and generate sources automatically.

ruby load_all.rb

Contributing

Pull requests welcome. Any additional sources/ need to be GPL compatible with a LICENSE defined.

Bugs

incompatible encoding regexp match (UTF-8 regexp with CP850 string)

If you are running on Windows, add the --external-encoding UTF-8 switch to your ruby swcript.

About

Open source translation collaboration tools

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages