multilingual-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (copasboc)
(no obvious links to posts or multilingual content from link provided Undo revision 44692 by QmpeopleQmpeople (Talk))
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
alacelcn
Back to [[multilingual-brainstorming]].
Back to [[multilingual-brainstorming]].


Line 48: Line 47:
         Requirements for a Multilingual Wordpress Plugin</a></h2>
         Requirements for a Multilingual Wordpress Plugin</a></h2>
      
      
     <div class="other-excerpt" lang="fr"><p>Quelques réflexions concernant un plugin  
     <div class="other-excerpt" lang="fr"><p>Quelques réflexions concernant un plugin  
     multilingue pour WordPress.</p>
     multilingue pour WordPress.</p>
     </div>       
     </div>       
Line 93: Line 92:
<ul>
<ul>
<li class="interwiki-ar">
<li class="interwiki-ar">
<a href="http://ar.wikipedia.org/wiki/%D8%A3%D9%88%D9%84%D9%88%D9%85%D9%88%D8%AA%D8%B3">العربية</a></li>
<a href="http://ar.wikipedia.org/wiki/%D8%A3%D9%88%D9%84%D9%88%D9%85%D9%88%D8%AA%D8%B3">العربية</a></li>
<li class="interwiki-bg">
<li class="interwiki-bg">
<a href="http://bg.wikipedia.org/wiki/%D0%9E%D0%BB%D0%BE%D0%BC%D0%BE%D1%83%D1%86">Български</a></li>
<a href="http://bg.wikipedia.org/wiki/%D0%9E%D0%BB%D0%BE%D0%BC%D0%BE%D1%83%D1%86">Български</a></li>
<li class="interwiki-cs"><a href="http://cs.wikipedia.org/wiki/Olomouc">Česky</a></li>
<li class="interwiki-cs"><a href="http://cs.wikipedia.org/wiki/Olomouc">Česky</a></li>
<li class="interwiki-en"><a href="http://en.wikipedia.org/wiki/Olomouc">English</a></li>
<li class="interwiki-en"><a href="http://en.wikipedia.org/wiki/Olomouc">English</a></li>
<li class="interwiki-eo"><a href="http://eo.wikipedia.org/wiki/Olomouc">Esperanto</a></li>
<li class="interwiki-eo"><a href="http://eo.wikipedia.org/wiki/Olomouc">Esperanto</a></li>
<li class="interwiki-es"><a href="http://es.wikipedia.org/wiki/Olomouc">Español</a></li>
<li class="interwiki-es"><a href="http://es.wikipedia.org/wiki/Olomouc">Español</a></li>
<li class="interwiki-fr"><a href="http://fr.wikipedia.org/wiki/Olomouc">Français</a></li>
<li class="interwiki-fr"><a href="http://fr.wikipedia.org/wiki/Olomouc">Français</a></li>
<li class="interwiki-is"><a href="http://is.wikipedia.org/wiki/Olomouc">Íslenska</a></li>
<li class="interwiki-is"><a href="http://is.wikipedia.org/wiki/Olomouc">Íslenska</a></li>
<li class="interwiki-lt"><a href="http://lt.wikipedia.org/wiki/Olomoucas">Lietuvių</a></li>
<li class="interwiki-lt"><a href="http://lt.wikipedia.org/wiki/Olomoucas">Lietuvių</a></li>
<li class="interwiki-nl"><a href="http://nl.wikipedia.org/wiki/Olomouc">Nederlands</a></li>
<li class="interwiki-nl"><a href="http://nl.wikipedia.org/wiki/Olomouc">Nederlands</a></li>
<li class="interwiki-pl"><a href="http://pl.wikipedia.org/wiki/O%C5%82omuniec">Polski</a></li>
<li class="interwiki-pl"><a href="http://pl.wikipedia.org/wiki/O%C5%82omuniec">Polski</a></li>
<li class="interwiki-ru">
<li class="interwiki-ru">
<a href="http://ru.wikipedia.org/wiki/%D0%9E%D0%BB%D0%BE%D0%BC%D0%BE%D1%83%D1%86">Русский</a></li>
<a href="http://ru.wikipedia.org/wiki/%D0%9E%D0%BB%D0%BE%D0%BC%D0%BE%D1%83%D1%86">Русский</a></li>
<li class="interwiki-sv"><a href="http://sv.wikipedia.org/wiki/Olomouc">Svenska</a></li>
<li class="interwiki-sv"><a href="http://sv.wikipedia.org/wiki/Olomouc">Svenska</a></li>
</ul>
</ul>
</pre></nowiki></pre>
</pre></nowiki></pre>

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

From climbtothestars.org

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

	<p class="date-permalink">permalink here</p>
	<h2 class="post-title" id="post-1259"><a href="http://climbtothestars.org/archives/2006/01/22/requirements-for-a-multilingual-wordpress-plugin/"
        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>        	
	<div class="post-content">
	<p>My blog has been bilingual for a long time now. Rest of post content...</p>
        </div>
</div>

From serendipity.lascribe.net

 
<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="http://serendipity.lascribe.net/ling-lang/2005/12/wicket-guichet/?lp_lang_view=en" 
	title="English version" rel="alternate" hreflang="en">※ english version </a> </span> 
	[...]</p>

From the Canadian government

http://canada.gc.ca/

 
<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">
<tr>
	<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></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>
</tr>

From Wikipedia

The Wikipedia navigation uses no attributes, except for language-specific classes. Example http://de.wikipedia.org/wiki/Olm%C3%BCtz :

<nowiki>
<ul>
<li class="interwiki-ar">
<a href="http://ar.wikipedia.org/wiki/%D8%A3%D9%88%D9%84%D9%88%D9%85%D9%88%D8%AA%D8%B3">العربية</a></li>
<li class="interwiki-bg">
<a href="http://bg.wikipedia.org/wiki/%D0%9E%D0%BB%D0%BE%D0%BC%D0%BE%D1%83%D1%86">Български</a></li>
<li class="interwiki-cs"><a href="http://cs.wikipedia.org/wiki/Olomouc">Česky</a></li>
<li class="interwiki-en"><a href="http://en.wikipedia.org/wiki/Olomouc">English</a></li>
<li class="interwiki-eo"><a href="http://eo.wikipedia.org/wiki/Olomouc">Esperanto</a></li>
<li class="interwiki-es"><a href="http://es.wikipedia.org/wiki/Olomouc">Español</a></li>
<li class="interwiki-fr"><a href="http://fr.wikipedia.org/wiki/Olomouc">Français</a></li>
<li class="interwiki-is"><a href="http://is.wikipedia.org/wiki/Olomouc">Íslenska</a></li>
<li class="interwiki-lt"><a href="http://lt.wikipedia.org/wiki/Olomoucas">Lietuvių</a></li>
<li class="interwiki-nl"><a href="http://nl.wikipedia.org/wiki/Olomouc">Nederlands</a></li>
<li class="interwiki-pl"><a href="http://pl.wikipedia.org/wiki/O%C5%82omuniec">Polski</a></li>
<li class="interwiki-ru">
<a href="http://ru.wikipedia.org/wiki/%D0%9E%D0%BB%D0%BE%D0%BC%D0%BE%D1%83%D1%86">Русский</a></li>
<li class="interwiki-sv"><a href="http://sv.wikipedia.org/wiki/Olomouc">Svenska</a></li>
</ul>

</nowiki>