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