multilingual-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(no obvious links to posts or multilingual content from link provided Undo revision 44692 by QmpeopleQmpeople (Talk))
(9 intermediate revisions by 8 users not shown)
(No difference)

Latest revision as of 00:53, 16 September 2017

Back to multilingual-brainstorming.

Examples of multilingual blogs

Multilingual blogs (or sites) spotted in the wild:

Full translations side-by-side

Fully translated blogs in one tool

One language per post, language varies

Mixed and other

Separate blogs

Not really a solution to the problem stated, more like a workaround

Code Samples


<div class="post" lang="en">

	<p class="date-permalink">permalink here</p>
	<h2 class="post-title" id="post-1259"><a href=""
        rel="bookmark" title="Permanent Link: Requirements for a Multilingual Wordpress Plugin">
        Requirements for a Multilingual Wordpress Plugin</a></h2>
    <div class="other-excerpt" lang="fr"><p>Quelques réflexions concernant un plugin 
    multilingue pour WordPress.</p>
	<div class="post-content">
	<p>My blog has been bilingual for a long time now. Rest of post content...</p>


<div class="post" lang="fr" xml:lang="fr">
	<h3 class="storytitle" id="post-247"><i>wicket</i> = <i>guichet</i>!</h3>
	<div class="postbody clearfix">
	<div class="meta1">
	<p><span class="otherversion" lang="en" xml:lang="en">
	<a href="" 
	title="English version" rel="alternate" hreflang="en">※ english version </a> </span> 

From the Canadian government

<html lang="en">
<td valign="bottom" width="150"><table width="150" summary="Our tables are used for the page layout. 
Nos tables sont utilisées pour la mise en page." border="0" cellpadding="1" cellspacing="0">
	<td width="75" align="center"><a title="English" href="/main_e.html">
	<img src="/images/englishbt.gif" alt="English" height="27" border="0" width="91"></a></td>
	<td width="75" align="center"><a title="Français" href="/main_f.html" lang="fr">
	<img src="/images/francaisbt.gif" alt="Français" height="27" border="0" width="91"></a></td>

From Wikipedia

The Wikipedia navigation uses no attributes, except for language-specific classes. Example :

<li class="interwiki-ar">
<a href="">العربية</a></li>
<li class="interwiki-bg">
<a href="">Български</a></li>
<li class="interwiki-cs"><a href="">Česky</a></li>
<li class="interwiki-en"><a href="">English</a></li>
<li class="interwiki-eo"><a href="">Esperanto</a></li>
<li class="interwiki-es"><a href="">Español</a></li>
<li class="interwiki-fr"><a href="">Français</a></li>
<li class="interwiki-is"><a href="">Íslenska</a></li>
<li class="interwiki-lt"><a href="">Lietuvių</a></li>
<li class="interwiki-nl"><a href="">Nederlands</a></li>
<li class="interwiki-pl"><a href="">Polski</a></li>
<li class="interwiki-ru">
<a href="">Русский</a></li>
<li class="interwiki-sv"><a href="">Svenska</a></li>