Hello,
The following contribution has been translated from French to English and
is now in wait for validation on SPIP-Contrib - SPIP's friends
In order to be sure providing quality stuff, Catherine and I would be very
grateful if someone could read this contribution and bring somme
corrections if needed before we publish it.
Thanks in advance.
Have a nice day ![]()
Etienne B. aka Loiseau2nuit.
######### PLUGIN : Multilingual typographical bar ###########
Tabs to manage "multi" tags
{{{Description}}}
This plugin aims to make writing of "multilingual blocs" of a website,
such as titles, descriptions and texts, easier.
In the case of a multilingual site with a single tree, indeed, the use of
the following tags <code><multi></code> is necessary to translate section
titles, site title, section texts ...and so on... to different languages.
Article translations can then be published, using Spip's native
multilingual functionalities. [see SPIP
Documentation->http://www.spip.net/en_article2406.html\]
With its intuitive solution of tabs/tabs solution - one tab for one
language -, this plugin lets you add and easily translate each area of
your website and undertakes the fastidious tags writing.
If you afterwards disable this plugin, your website will stay
multilingual, but "multi" tags will appear into the corresponding fields,
replacing tabs.
We have decided to realize this plugin as an extension to {typographical
bar V2}, that you will consequently have to install. As a matter of fact,
this bar provides the entering points (pipelines) required not to override
SPIP core.
You will then have to install the {generalized typographical bar} to
extend the typographical bar V2 and consequently the multilingual
extension, to the whole text areas.
<emb4721|center>
{{{Credits}}}
License GPLv3
© (2007) Cyrille Kazis - [Kazis & Co->http://www.screencom.com/\]
{{{Installation}}}
Download the zip file of the plugin on Spip-Zone :
[->http://files.spip.org/spip-zone/extension_multilingue_pour_BTV2.zip\][[If
you meet any problem with this link, try on [mirror sites->rub123] ]]. The
installation happens then as for any other plugin, cf.
[->http://www.spip.net/en_article3475.html\]
To work successfully, this plugin requires the following plugins, too :
- [cfg->http://files.spip.org/spip-zone/cfg.zip\] plugin
- [generalized typographical bar
->http://files.spip.org/spip-zone/barre_typo_generalisee.zip\] plugin
- [typographical bar
v2->http://files.spip.org/spip-zone/barre_typo_v2.zip\] plugin
{{Warning :}}
- this plugin isn't compliant with [typographical illuminatings->2203].
You can't activate both plugins together.
- with SPIP v1.9.2 and 1.9.2a, tabs can be vertically displayed. That does
not harm to the good working of the plugin. It is possible to easily
correct this problem due to an error in the following file
{dist/style_prive.html} [[replace into dist/style_prive.html, line 1101 :
<code>.tout-site ul,li {clear:both;}</code>
by : <code>.tout-site ul, .tout-site li {clear:both;}</code>
and then change the color of your interface, in order to force the style
to be refreshed]]
- quotes symbols into titles are temporarily converted to apostrophes by
the plugin, because presence of quotes generates problems in the
displaying of the filling fields.
- SPIP natively cuts long texts in articles into several ones. This
functionality has been disabled. [[This functionality usually applies if
the size of the text is higher than 32kb and aims to avoid a bug met with
the textarea and some old version of IE (version 4).]]
- with 1.9.3, multilingualism on the site main configuration page ("your
site's name" and "site description" fields) doesn't work.
- pages which include a lot of fields, such as article edition page, may
take a long time to get executed (and generate script execution timeouts
through the browser). The best way is then to disable typographical bars
on titles and descriptions and not to activate languages tabs on secondary
fields, such as : subtitle, brief description... The number of languages
is also an important factor. With more than 3 languages, it is better to
manage the multilingualism on articles using SPIP's native translation
functionalities.
{{{Configuration}}}
How to configure the generalized typographical bar plugin : enable all the
areas for which you wish to activate multilingualism. For more precisions
: [see the corresponding article->2331].
How to configure the multilingual extension plugin : it has to be done
from the plugins administration page}}. Follow the "Access to the
configuration panel with cfg" link.
<img4850|center>
From the configuration panel, you can :
- choose language tabs to be displayed (separate each international code
by comas). You will find codes list into the private area :
"configuration"->"language management"->"multilingual"
- decide not to display typographical shortcuts on the titles (as it has
been done on the example above). This option is useful if you don't really
want typographical shortcuts on titles but have all the same enabled
typographical bar on the titles in order to activate the multilingual
extension.
- enable or disable multilingualism on articles and on news items. You
can, for example, disable multilingualism on article if you want to use
SPIP's native solution for articles translation, allowing you to have a
different numbers of articles, depending on chosen language.
<img4844|center>
{Plugin coded by [Arnault PACHOT->aut6562].}<br/>
{Contribution translated from French to English by [Catherine
PITIOT->aut8273]}<br/>
{Correction work by [Etienne B.->aut4915] aka Loiseau2nuit and... .}
############################################################
--
Loiseau2nuit
for SPIP-Contrib - SPIP's friends