Keyword alias
Project description
redomino.keywordalias
=====================
This product aims to let keyword managers to add one or more keyword aliases and different versions depending on the user language.
It may help you managing multilingual websites.
It provides:
* a customized keywords viewlet
* a keyword alias configuration panel
* a couple of views that let you personalize your 'search' and 'search_form' views.
Note well: you have to customize your search and search_form manually! These two templates may depend on the Plone version you are using
Tested on Plone 4.1.5 and Plone 4.2.
How it works?
-------------
This product provides a customized keywords viewlet that shows keyword aliases instead of standard keywords depending on a configuration panel.
The keyword alias configuration panel let you assign keyword aliases for each keyword indexed in the plone's catalog and for each enabled language.
The keyword alias configuration panel stores a dictionary similar to the following one:
{
'wood': ['Wood',], # the fallback version for each language
'wood|en': ['Wood',],
'wood|it': ['Legno', 'Materiale legnoso'],
}
The registry accepts a list: will be used the first item as a keyword translation, otherwise the default one or the plain keyword itself. The other list values
could be used by third party packages as aliases or keyword synonims.
If you want you may customize the 'search' and 'search_form' views, see next section-
Customize the search and search_form views
------------------------------------------
How to customize the 'search' view:
<tal:replace replace="structure context/@@multiselectkeywords" />
How to customize the 'search_form' view (where result may be an object or a catalog brain):
<tal:replace replace="structure result/@@filedunder" />
Similar products
----------------
See http://pypi.python.org/pypi/archetypes.linguakeywordwidget written by JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>.
This package achieve the same goal but in a different way. With keyword alias
your keywords are translated in backoffice. With linguakeywords you have
just different keywords.
Authors
-------
* Davide Moro <davide.moro@redomino.com>, idea and main author
Changelog
=========
0.1 (2012-07-18)
----------------
- Closes ticket #4
[giacomos]
- Initial release
[davidemoro]
=====================
This product aims to let keyword managers to add one or more keyword aliases and different versions depending on the user language.
It may help you managing multilingual websites.
It provides:
* a customized keywords viewlet
* a keyword alias configuration panel
* a couple of views that let you personalize your 'search' and 'search_form' views.
Note well: you have to customize your search and search_form manually! These two templates may depend on the Plone version you are using
Tested on Plone 4.1.5 and Plone 4.2.
How it works?
-------------
This product provides a customized keywords viewlet that shows keyword aliases instead of standard keywords depending on a configuration panel.
The keyword alias configuration panel let you assign keyword aliases for each keyword indexed in the plone's catalog and for each enabled language.
The keyword alias configuration panel stores a dictionary similar to the following one:
{
'wood': ['Wood',], # the fallback version for each language
'wood|en': ['Wood',],
'wood|it': ['Legno', 'Materiale legnoso'],
}
The registry accepts a list: will be used the first item as a keyword translation, otherwise the default one or the plain keyword itself. The other list values
could be used by third party packages as aliases or keyword synonims.
If you want you may customize the 'search' and 'search_form' views, see next section-
Customize the search and search_form views
------------------------------------------
How to customize the 'search' view:
<tal:replace replace="structure context/@@multiselectkeywords" />
How to customize the 'search_form' view (where result may be an object or a catalog brain):
<tal:replace replace="structure result/@@filedunder" />
Similar products
----------------
See http://pypi.python.org/pypi/archetypes.linguakeywordwidget written by JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>.
This package achieve the same goal but in a different way. With keyword alias
your keywords are translated in backoffice. With linguakeywords you have
just different keywords.
Authors
-------
* Davide Moro <davide.moro@redomino.com>, idea and main author
Changelog
=========
0.1 (2012-07-18)
----------------
- Closes ticket #4
[giacomos]
- Initial release
[davidemoro]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redomino.keywordalias-0.1.zip
(38.4 kB
view details)
File details
Details for the file redomino.keywordalias-0.1.zip
.
File metadata
- Download URL: redomino.keywordalias-0.1.zip
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2821accfd314957086ae4ead6866a3dd37a374a9153b759a57d3b878f376dfe2 |
|
MD5 | 464a246442eda7cd02ca74aeb4cfed50 |
|
BLAKE2b-256 | 31a86370678b0246194cbb583d14b4b6352728e6bcf2ef6ea2f1a66e97cfb2be |