Sha256: ebe5ccc8f1d8da9f92e71eae3320e06fae859501ca4aa850455dfb90695483ef

Contents?: true

Size: 923 Bytes

Versions: 11

Compression:

Stored size: 923 Bytes

Contents

# The Project API Token from Web Translate It
api_key: '<%= api_key %>'

# The locales not to sync with Web Translate It.
# Pass an array of string, or an array of symbols, a string or a symbol.
# eg. [:en, :fr] or just 'en'
ignore_locales: '<%= project["source_locale"]["code"] %>'

# A list of files to translate
# You can name your language files as you want, as long as the locale name match the
# locale name you set in Web Translate It, and that the different language files names are
# differenciated by their locale name.
# For example, if you set to translate a project in en_US in WTI, you should use the locale en_US in your app
#
# wti_id is the file id from Web Translate It.
files:
<% project["project_files"].each do |project_file| -%><% if project_file["master"] -%>  <%= project_file["id"] %>: config/locales/<%= project_file["name"].gsub(project["source_locale"]["code"], "[locale]") %><% end %><% end -%>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
wti_gettext_i18n_rails-1.0.3 generators/webtranslateit/templates/translation.yml
wti_gettext_i18n_rails-1.0.2 generators/webtranslateit/templates/translation.yml
wti_gettext_i18n_rails-1.0.1 generators/webtranslateit/templates/translation.yml
wti_gettext_i18n_rails-1.0.0 generators/webtranslateit/templates/translation.yml
web_translate_it-1.5.2 generators/webtranslateit/templates/translation.yml
web_translate_it-1.5.1 generators/webtranslateit/templates/translation.yml
web_translate_it-1.5.0 generators/webtranslateit/templates/translation.yml
web_translate_it-1.4.7 generators/webtranslateit/templates/translation.yml
web_translate_it-1.4.6 generators/webtranslateit/templates/translation.yml
web_translate_it-1.4.5 generators/webtranslateit/templates/translation.yml
web_translate_it-1.4.4 generators/webtranslateit/templates/translation.yml