ci-bonfire / Sprint

A lightweight, modern addition to CodeIgniter 3. The heart of Bonfire Next.
132 stars 57 forks source link

New generator for localization #72

Open lonnieezell opened 9 years ago

lonnieezell commented 9 years ago

To start, it will simply need to generate the migration for the language table. The cli should look like:

sprint forge localize install

This leaves a generator in place that can be used if needed to add other features in the future. One good idea might be to have it create a language version of a view folder, or theme folder, by copying the files into the appropriate sub-folders.

lonnieezell commented 9 years ago

This is mostly done. All generators are in place, but need to modify to allow it to ignore any existing translation folders from the source folder so we don't copy other translations.

Also need to wrap up the documentation for this.