https://github.com/codevise/pageflow-public-i18n
Shared translations for the UI of published Pageflows
https://github.com/codevise/pageflow-public-i18n
Last synced: 5 months ago
JSON representation
Shared translations for the UI of published Pageflows
- Host: GitHub
- URL: https://github.com/codevise/pageflow-public-i18n
- Owner: codevise
- Created: 2015-11-16T21:01:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-09-17T12:46:22.000Z (9 months ago)
- Last Synced: 2025-12-26T10:23:28.787Z (6 months ago)
- Language: Ruby
- Size: 171 KB
- Stars: 0
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Pageflow Public I18n
A shared library of translations to be used in published Pageflow
entries.
## Installation
This gem is not supposed to be installed directly into Pageflow
applications. It can instead be used as a dependency of Pageflow
plugin gems.
## Rationale
This gem is supposed to make adding new available locales for
published Pageflows easy. When adding a new language, instead of
having to make changes to all Pageflow plugin gems that contribute ui
elements to published Pageflows, the additional translations only need
to be added to this gem.
Whenever a Pageflow plugin needs a translation for a new string, it
can be added to this gem in a new minor version. The plugin can then
depend that version to ensure the translation is present.
## Usage
Make the gem a dependency of you Pageflow plugin:
spec.add_dependency 'pageflow-public-i18n', '~> 1.0'
Start using translations from the `pageflow.public` namespace:
I18n.t('pageflow.public.close')
## Contributing Locales
Edit the translations directly on the
[pageflow-public-i18n](http://www.localeapp.com/projects/public?search=tf/pageflow-public-i18n)
Localeapp project.