![]() |
|
sfEleAdminI18nPlugin - 1.0.5Plugin for transparent administration of i18n dictionaries. |
|
![]() |
9
users
Sign-in
to change your status |
Provides simple administration - editing, deleting or adding new translations is very easy. Useful mainly for huge files, because of structured view. |
Simple tool for managing i18n dictionaries from Elevator Company. Features
| Name | Status | |
|---|---|---|
|
|
lead | moc.liamg <<ta>> anij.atjov |
The MIT License
Copyright (c) 2008 Elevator.cz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
| Version | License | API | Released |
|---|---|---|---|
| 1.0.5stable | MIT license | 1.0.5stable | 04/03/2009 |
| 1.0.2stable | MIT license | 1.0.2stable | 03/03/2009 |
| 1.0.1stable | MIT license | 1.0.1stable | 19/02/2009 |
| 1.0.0stable | MIT license | 1.0.0stable | 18/02/2009 |
| 0.2.1beta | MIT license | 0.2.1beta | 06/02/2009 |
| Version | License | API | Released |
|---|---|---|---|
| 0.0.4beta | MIT license | 0.0.4beta | 05/02/2009 |
The sfEleAdminI18nPlugin is a symfony plugin that provides a simple tool for administrating i18n dictionaries.
It gives you a module sfEleAdminI18n - that is the user interface of this tool.
Install the plugin
$ symfony plugin:install sfEleAdminI18nPlugin
Copy the /web folder. Copy this folder from plugin directory into you sf /web. (When you use pear install on unix, you don't have to do this)
Set the module enabled in /apps/your_app/config/settings.yml
all:
.settings:
enabled_modules: [..., sfEleAdminI18n]Set the i18n enabled in /apps/your_app/config/settings.yml
all:
.settings:
i18n: onClear your cache
$ symfony cc
You can set separator for keys, in /apps/your_app/config/app.yml
all:
sfEleAdminI18n:
separator: "_"
use_self_defined_key: true #no error, if the key is not wellformed
translate_apps: [frontend, backend] #apps to translateAll messages from opened dictionary are grouped by module and action.
If you want to work this right, you have to use this convention in all keys:
module-separator-action-separator-caption
An example of some keys:
The plugin will generate something like this:
GALLERY
- INDEX
- author
- name
- LIST
- photo
USER
- LOGIN
- name
- password Very huge dictionaries are pretty transparent now.
If you want to use this theme, just put into your /apps/your_app/config/view.yml
default: stylesheets: [/sf/sf_admin/css/main.css, ...]
