Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

We have a similar issue in relation to Metadot and i18n but I think it is possible to get round it.

Mad implimentation suggestion follows

The plan is to allow the user to add various language specific information by rapping it in xml tags and then modifying the display to strip out the non required content on the fly. i.e. <locale lang='en'>English Text</locale>

This is a partial solution and means that in the medium term the content editing side need not be updated significantly. We will probably add that at a later stage but this would require all gizmos to be updated to handle a translation feature which would take time.

We also want to add language dependant templates but this is probably best done by playing with the path to the skins on the fly. Again relatively straight forward.

There are some bits that look like Metadot considered adding i18n but never followed through. Talked to their sales people but they did not seem that interested. Their suggestions were to run either multiple sites with a different skin for each or create multiple sections in the site one for each language.

Both of these require significant user overhead to maintain and make it impossible to create reporting tools that would show article language coverage.

They did mention that they had once done a custom multilingual version for a customer but it used multiple copies of the user entry fields and they have never kept it upto date. Wanted to do some development for us but as we are a perl shop already using LAMP and template toolkit it seemed a bit excessive.

We will initially be implimenting a bilingual site but plan in increase this in future.


In reply to Metadot and i18n? by UnderMine
in thread Experiences with Metadot? by neilwatson

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and a soft breeze sighs...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (4)
    As of 2018-04-24 03:41 GMT
    Find Nodes?
      Voting Booth?