-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I18n support #95
Comments
Currently it does not. What is your use case for this? Specifically, do you intend to have multiple languages available at once, or just one language and you want to change that in a config or something similar? |
I want to custom some messages. https://github.com/upmin/upmin-admin-ruby/blob/master/app/views/upmin/models/dashboard.html.haml#L7, i think it should like |
Hello to everyone.My point of view.1) translationapplicaton.rb config.i18n.default_locale = :ru
# Sample localization file.
ru:
helpers:
actions: "Действия"
links:
back: "Назад"
cancel: "Отмена"
confirm: "Уверены?"
destroy: "Удалить"
new: "Создать"
edit: "Изменить"
save: "Сохранить"
show: "Смотреть"
titles:
edit: "Изменить %{model}"
save: "Сохранить %{model}"
new: "Создать %{model}"
delete: "Удалить %{model}"
select:
prompt: "Выберите: "
submit:
create: "Создать %{model}"
submit: "Сохранить %{model}"
update: "Сохранить %{model}" in the view (haml example) .col-sm-4
= f.submit t('.save', :default => t("helpers.links.save")), :class => "btn btn-primary" 2) localesdate (format view) , time (24 format or not) and something else will changes from Locale to Locale PS gem 'rails-i18n', github: 'svenfuchs/rails-i18n', branch: 'master'
gem "i18n-js", github: "fnando/i18n-js", branch: 'master'
gem 'i18n-tasks', github: 'glebm/i18n-tasks' |
So, I can help and do it. |
Would Upmin Admin support i18n?
The text was updated successfully, but these errors were encountered: