0.0
No commit activity in last 3 years
No release in over 3 years
Adds a rake task to your Rails app that lets you fetch your translations from a Google Doc spreadsheet and convert it into YAML
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 12.3
~> 3.0
 Project Readme

I18nWigodo (I18n with Google Docs)

This gem offers a simple way of having cloud stored translations for your Rails app.

Just create a new spreadsheet in Google Docs and make it world readable. This makes integration of the gem easier since no credentials and authentication mechanisms for Google are needed.

If this is a security concern for you, either this gem is not for you, or you can revoke public read access to the document whenever you are not syncing your translations.

You can share your document with write access to your translator.

To fetch new translations, run

rake wigodo:fetch

Installation

Add this line to your application's Gemfile:

gem 'i18n_wigodo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install i18n-wigodo

Usage

TODO: Write usage instructions here

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

About

This concept was inspired by Luki3k5 and his google_spreadsheet2yml gem.

License

MIT.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mpm/i18n-wigodo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Code of Conduct

Everyone interacting in the wigodo project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.