i18n_controller_namespaces | Adds automatic i18n translation scoping to rails controllers
kandi X-RAY | i18n_controller_namespaces Summary
kandi X-RAY | i18n_controller_namespaces Summary
i18n_controller_namespaces is a Ruby library. i18n_controller_namespaces has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
This plugin extends the I18n translations in controllers to behave the same way as views. This means, that each translation call beginning with a dot . will be prefixed with a namespace. This automatic scoping takes into account the modules, class name, and method name. So a call in Admin::UsersController.index will be prefixed with admin.users.index. This plugin only works with calls to t() and translate() within controllers which inherit from ActionController::Base. Calls to I18n.t() and I18n.translate() are not touched and keys will not be prefixed. Note: This plugin has only been tested with rails3 and has a very limited test coverage. So please run your test suite before using it in production. I hope I will find time to extend it. Or just fork and add it yourself.
This plugin extends the I18n translations in controllers to behave the same way as views. This means, that each translation call beginning with a dot . will be prefixed with a namespace. This automatic scoping takes into account the modules, class name, and method name. So a call in Admin::UsersController.index will be prefixed with admin.users.index. This plugin only works with calls to t() and translate() within controllers which inherit from ActionController::Base. Calls to I18n.t() and I18n.translate() are not touched and keys will not be prefixed. Note: This plugin has only been tested with rails3 and has a very limited test coverage. So please run your test suite before using it in production. I hope I will find time to extend it. Or just fork and add it yourself.
Support
Quality
Security
License
Reuse
Support
i18n_controller_namespaces has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
i18n_controller_namespaces has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of i18n_controller_namespaces is current.
Quality
i18n_controller_namespaces has no bugs reported.
Security
i18n_controller_namespaces has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
i18n_controller_namespaces is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
i18n_controller_namespaces releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of i18n_controller_namespaces
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of i18n_controller_namespaces
i18n_controller_namespaces Key Features
No Key Features are available at this moment for i18n_controller_namespaces.
i18n_controller_namespaces Examples and Code Snippets
No Code Snippets are available at this moment for i18n_controller_namespaces.
Community Discussions
No Community Discussions are available at this moment for i18n_controller_namespaces.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install i18n_controller_namespaces
You can download it from GitHub.
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page