https://github.com/halostatue/i18n-tasks-csv
https://github.com/halostatue/i18n-tasks-csv
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/halostatue/i18n-tasks-csv
- Owner: halostatue
- License: other
- Created: 2015-07-08T17:22:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-09-29T17:29:41.000Z (over 2 years ago)
- Last Synced: 2025-03-16T14:54:17.162Z (3 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 8
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- Changelog: History.rdoc
- Contributing: Contributing.rdoc
Awesome Lists containing this project
README
= i18n-tasks-csv
home :: https://github.com/halostatue/i18n-tasks-csv/
bugs :: https://github.com/halostatue/i18n-tasks-csv/issues== Description
This is a packaged gem version of the CSV import/export tasks on the
{i18n-tasks
Wiki}[https://github.com/glebm/i18n-tasks/wiki/Custom-CSV-import-and-export-tasks].== Installation
Add CSV configuration to `config/i18n-tasks.yml`:
```yml
# config/i18n-tasks.yml
<% require 'i18n-tasks-csv' %>csv:
export:
- ["faqs.*", "tmp/i18n-export/faqs.csv"]
- "tmp/i18n-export/main.csv"
import:
- tmp/i18n-export/main.csv
- tmp/i18n-export/faqs.csv
```== Usage
```console
$ i18n-tasks csv-import
$ i18n-tasks csv-export
```:include: Contributing.rdoc
:include: Licence.rdoc