SPIP-Contrib

SPIP-Contrib

عربي | Deutsch | English | Español | français | italiano | Nederlands

288 Plugins, 197 contribs On SPIP-Zone, 275 visitors now

Home > Multilingual Solutions > Navigation multilingue > Multilingual typographical bar > Multilingual typographical bar

Multilingual typographical bar

27 September 2007 – by Arnault Pachot, Catherine, Loiseau2nuit – commentaire

All the versions of this article: [English] [français]

2 Votes

Tabs to manage “multi” tags

Description

This plugin is intended to make the 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 structure, the use of
the tags <multi> is necessary to translate section
titles, site title, section texts, etc. in different languages.
Article translations can then be published, using SPIP’s native
multilingual features
.

With its intuitive use of a tabbed interface — one tab for each
language —, this plugin makes it easy to add translations in each textual area of your website by eliminating the need for fastidious tag writing.

Even if you disable this plugin, your website will remain
multilingual, as it still uses <multi> tags. The corresponding fields will just display the defautl tag notation instead of the tabs.

This plugin requires the installation of the following plugins as it uses some of their features/code to extend SPIP:

  • the typographical
    bar V2
    which provides the entry points (pipelines) required to avoid the overriding of the SPIP core,
  • the generalized typographical bar which is used to
    extend the typographical bar V2.
Multilinguism bar
Exemple on a Section’s edition page.

Credits

License GPLv3

© (2007) Cyrille Kazis - Kazis & Co

Installation

Download the plugin’s zip file from Spip-Zone [1] :

The plugin Archive

The
installation follows as for any plugin.

To work successfully, this plugin also requires the following plugins :
-  cfg plugin
-  generalized typographical bar plugin
-  typographical bar
v2
plugin

Warnings :

  • with SPIP v1.9.2 and 1.9.2a, tabs can be displayed vertically. This does
    not hinder the correct operation of the plugin. The problem may be easily
    corrected by modifying the following file
    dist/style_prive.html [2].
  • quotes symbols in titles are temporarily converted to apostrophes by
    the plugin, because the presence of quotes generates problems when
    displaying filling fields.
  • SPIP natively cuts long texts in articles into sub texts. This
    functionality has been disabled. [3]
  • with the future 1.9.3, multilingual configuration of the site data ("your
    site’s name" and “site description” fields) doesn’t work.
  • pages with many fields, such as an article editing page, may
    take a long time to execute (and generate script execution time-outs
    through the browser). The best approach is to disable typographical bars
    on titles and descriptions and not to activate languages tabs on secondary
    fields, such as : subtitle, brief description., etc. 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

To configure the generalized typographical bar plugin : enable all
areas for which you wish to activate multilingualism. For more detail
: see the corresponding article.

To configure the multilingual extension plugin : you must use the plugins
administration page. Follow the link “Access to the configuration panel
with cfg”.

Panneau de présentation du plugin

From the configuration panel, you can then :

  • select language tabs for display (separate each international code
    by comas). You will find a list of codes in the private area :
    “configuration”->“language management”->“multilingual”
  • choose not to display typographical short-cuts for the titles (as has
    been done on the example above). This option is useful if you don’t need
    typographical short-cuts in titles but have the typographical bar enabled
    for 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 an article if you want to use
    SPIP’s native solution for articles translation, allowing you to have a
    different number of articles, depending on the language chosen.

Configuration du plugin

Plugin coded by Arnault PACHOT.
Contribution translated from French to English by Catherine
PITIOT

Correction work by Etienne B. aka Loiseau2nuit, Mortimer and Brian WALKER (on mailing list ’spip-en’) .

Footnotes

[1If
you encounter problems with this link, try the mirror sites

[2replace in dist/style_prive.html, line 1101 :
.tout-site ul,li {clear:both;}
by : .tout-site ul, .tout-site li {clear:both;}
and then change the colour of your interface, in order to force a style
refresh

[3This functionality usually applies if
the size of the text is greater than 32kb and aims to avoid a bug with
the text area in some older versions of IE (version 4).

updated on 8 October 2007

Back to top

Your comments

  • On 14 June 2009 at 02:26, by ? Replying to: Multilingual typographical bar

    # v1.9.2 and 1.9.2a, tabs can be displayed vertically. This does not hinder the correct operation of the plugin. The problem may be easily corrected by modifying the following file dist/style_prive.html [2].
    # quotes symbols in titles are temporarily converted to apostrophes by the plugin, because the presence of quotes generates problems when displaying filling fields.
    # SPIP natively cuts long texts in articles into sub texts

    Reply to this message

Comment on this article

Who are you?
  • [Log in]

To show your avatar with your message, register it first on gravatar.com (free et painless) and don’t forget to indicate your Email addresse here.

Enter your comment here Les choses à faire avant de poser une question (Prolégomènes aux rapports de bugs. )
Add a document

Back to top

Here they're talking

  • (fr) Plugin Logo SVG : pouvoir utiliser des logos SVG

    17 octobre 2016 – 10 commentaires

    Le SVG est un format vectoriel donc très léger et redimensionnable sans pertes, mais SPIP ne l’acceptait pas sur les logos. Ce plugin comble ce manque. Comment ça fonctionne ? Vous installez ce plugin, vous l’activez, et c’est tout. Crédits Une (...)

  • (fr) Refonte de l’identité graphique

    10 juillet – 31 commentaires

    Lors de la SPIP Party 2017 à Toulouse, un nouveau contributeur est venu nous présenter son travail sur une refonte du logo. Au delà de la refonte du logo, c’est une toute nouvelle identité graphique pour SPIP que Jordan nous propose. Voici une (...)

  • (fr) Enluminures typographiques V3

    25 juillet 2009 – 185 commentaires

    Les Enluminures typographiques V3 permettent d’ajouter au Porte plume les raccourcis typographiques présents dans le Plugin Barre Typographique Enluminée. C’est une extension du PortePlume. Pour la documentation d’usage, se reporter à celle du (...)

  • (fr) LinkCheck : vérificateur de liens

    13 février 2015 – 94 commentaires

    Ce plugin permet de chercher et tester l’ensemble des liens présents dans les objets. Vous pourrez donc en quelques clics connaître les liens brisés ou défectueux qui se sont immiscés dans le contenu de votre site SPIP. La vérification s’effectue en (...)

  • (fr) Serveur HTTP abstrait

    25 novembre 2013 – commentaires

    Un plugin-outil pour aider les développeurs à implémenter des API orientées REST, basées sur les méthodes HTTP (get, post, put, delete). Ce plugin a pour but premier de normaliser des URL que l’on pourra appeler pour manipuler les données du site. À (...)

There they're spiping