Sha256: 4299c060428883b3e8e3b9ca9c49aa69e65f6b4c1196f7e1b4d2af3aa7d82313

Contents?: true

Size: 1.13 KB

Versions: 42

Compression:

Stored size: 1.13 KB

Contents

# 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.

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
pageflow-public-i18n-1.28.0 README.md
pageflow-public-i18n-1.27.0 README.md
pageflow-public-i18n-1.26.0 README.md
pageflow-public-i18n-1.25.0 README.md
pageflow-public-i18n-1.24.0 README.md
pageflow-public-i18n-1.23.0 README.md
pageflow-public-i18n-1.22.1 README.md
pageflow-public-i18n-1.22.0 README.md
pageflow-public-i18n-1.21.0 README.md
pageflow-public-i18n-1.20.0 README.md
pageflow-public-i18n-1.19.2 README.md
pageflow-public-i18n-1.19.1 README.md
pageflow-public-i18n-1.19.0 README.md
pageflow-public-i18n-1.18.3 README.md
pageflow-public-i18n-1.18.2 README.md
pageflow-public-i18n-1.18.1 README.md
pageflow-public-i18n-1.18.0 README.md
pageflow-public-i18n-1.17.0 README.md
pageflow-public-i18n-1.16.0 README.md
pageflow-public-i18n-1.15.0 README.md