Difference between revisions of "User:Dominique Pautrel/Wiki Localization Structure"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (About Categories)
m (Citation of a page/file of an external site)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
: After update , I redefine the goal of this page with more headings. Hopefully the page name is still valid. :-)
 
: After update , I redefine the goal of this page with more headings. Hopefully the page name is still valid. :-)
  
== About [[:Category:MainIndex|categories]] ==
+
__TOC__
 +
 
 +
== About [[:Category:MainIndex|Categories]] ==
 
How should I attribute categories so that all the French documentation (for example) could appears in a nice way through dynamic page lists ?
 
How should I attribute categories so that all the French documentation (for example) could appears in a nice way through dynamic page lists ?
  
Line 44: Line 46:
 
The second option has been retained.
 
The second option has been retained.
  
== About [[:Category:Wiki_Templates|Templates]] ==
+
== About [[:Category:Wiki Templates|Templates]] ==
  
Should it be a nice idea to have one or two (or even more) templates for refering to external documentation ?
+
=== Citation of a page/file of an external site  ===
  
Something near from those for WikiPedia : http://en.wikipedia.org/wiki/Wikipedia:Template_messages/Sources_of_articles#Examples
+
Should it be a nice idea to have one or two (or even more) templates for refering to external documentation ?
  
We could have [[Template:Cite_Page]] for an external page and [[Template:Cite_File]] for a downloadable file direct link...
+
Something near from those for WikiPedia : http://en.wikipedia.org/wiki/Wikipedia:Template_messages/Sources_of_articles#Examples
  
And for each, i.e. the French version, [[Template:FR/CitePage]] and [[Template:FR/CiteFichier]]
+
We could have [[Template:CitePage]] for an external page and [[Template:CiteFile]] for a downloadable file direct link... or one template with more sophisticated parameters...
  
But with specific information concerning {{OOo}} documentation. Because (at least in the FR domain) we have more documentation that only on the Wiki, downloadables files or tutorials on the forum
+
And in the same way, i.e. the French version, [[Template:FR/CitePage]] and [[Template:FR/CiteFichier]]
  
{{Documentation/Note| '''French External Links examples'''
+
{|
* http://fr.openoffice.org/Documentation/Index.html
+
|+ A French Example with http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460  
* http://templates.services.openoffice.org/fr
+
* http://user.services.openoffice.org/fr/forum/index.php
+
* http://www.formation-openoffice.fr/
+
* http://www.formation-openoffice.fr/wiki/doku.php
+
* http://ooo.developpez.com/faq/
+
* http://christianwtd.free.fr/
+
* http://info.sio2.be/
+
* Please complete this list...
+
}}
+
 
+
{{Spacer|50}}
+
 
+
{| smarttable
+
|+ A French Example with http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460
+
! Entering !! Could give
+
 
|-
 
|-
| <pre>{{FR/Cite_Page|
+
! Entering
|Titre=Débuter à partir d'une application exemple commentée
+
! Could give
|Description=Questions fréquentes sur la mise en oeuvre de Base.  
+
|-
 +
| <pre>{{FR/Cite_Page&#124;
 +
&#124;Titre=Débuter à partir d'une application exemple commentée
 +
&#124;Description=Questions fréquentes sur la mise en oeuvre de Base.  
 
Les exemples présentés ici n'utilisent volontairement aucune macro.
 
Les exemples présentés ici n'utilisent volontairement aucune macro.
|Module=Base
+
&#124;Module=Base
|Date=2007-09-10
+
&#124;Date=2007-09-10
|Site=Forum-FR
+
&#124;Site=Forum-FR
|Link=6460
+
&#124;Link=6460
}}</pre>
+
}}</pre>  
|<div style="float:right; margin-top: -45px;">[[image:Base.png|70px]]</div>
+
| <div style="float: right; margin-top: -45px;">[[Image:Base.png|70px]]</div> '''<center>Débuter à partir d'une application exemple commentée</center>''' <br> <small>Questions fréquentes sur la mise en oeuvre de Base. Les exemples présentés ici n'utilisent volontairement aucune macro.</small> <br> Dernière mise à jour&nbsp;: 10 Sept. 2007 <br> Lien&nbsp;: http://user.services.openoffice.org/fr/forum/ftopic6460.html
'''<center>Débuter à partir d'une application exemple commentée</center>''' <br> <small>Questions fréquentes sur la mise en oeuvre de Base. Les exemples présentés ici n'utilisent volontairement aucune macro.</small> <br> Dernière mise à jour : 10 Sept. 2007 <br> Lien : http://user.services.openoffice.org/fr/forum/ftopic6460.html
+
 
|-
 
|-
|Or it could look like [[Template:Specification_Header]] || {{Specification_Header| Pierre-Yves Samyn| 2007-09-10| Standard}}
+
| Or it could look like [[Template:Specification Header]]  
 +
| {{Specification_Header| Pierre-Yves Samyn| 2007-09-10| Standard}}
 
|-
 
|-
|My first Template ! [[Template:FR/CitePage]] <br>
+
| My first Template&nbsp;! [[Template:FR/CitePage]] <br> <pre>{{FR/CitePage&#124;
<pre>{{FR/CitePage|
+
&#124;Titre=This title is given via a template...
|Titre=This title is given via a template...
+
&#124;Auteur=Pierre-Yves Samyn
|Auteur=Pierre-Yves Samyn
+
&#124;Description=Le Titre véritable est&nbsp;:  
|Description=Le Titre véritable est :  
+
 
Débuter à partir d'une application exemple commentée.  
 
Débuter à partir d'une application exemple commentée.  
 
Questions fréquentes sur la mise en oeuvre de Base.  
 
Questions fréquentes sur la mise en oeuvre de Base.  
 
Les exemples présentés ici n'utilisent volontairement aucune macro.
 
Les exemples présentés ici n'utilisent volontairement aucune macro.
|Module=Base
+
&#124;Module=Base
|Date=2007-09-10
+
&#124;Date=2007-09-10
|Statut=Standard
+
&#124;Statut=Standard
|OS=Toutes
+
&#124;OS=Toutes
|Site=Forum
+
&#124;Site=Forum
|SiteCode=6460
+
&#124;SiteCode=6460
|Lien=http://user.services.openoffice.org/fr/forum/ftopic6460.html
+
&#124;Lien=http://user.services.openoffice.org/fr/forum/ftopic6460.html
}} </pre>
+
}} </pre>  
|{{FR/CitePage|
+
| See [[FR/Externe/Base/Documents/Debuter:_Application_exemple_commentee]]
|Titre=This title is given via a template...
+
|}
|Auteur=Pierre-Yves Samyn
+
 
|Description=Le Titre véritable est :
+
<br> This way we could have a normalization for formatting pages that point to external links. The'll all have the same look and could be easily categorized, and thus the reader could see (at least in the FR domain) much more documentation easily...
Débuter à partir d'une application exemple commentée.
+
 
Questions fréquentes sur la mise en oeuvre de Base.  
+
=== Icon  ===
Les exemples présentés ici n'utilisent volontairement aucune macro.
+
 
|Module=Base
+
For icon display, I intend to build&nbsp;: [[Template:Icon]]. If it fail it will only be candidate for speedy deletion&nbsp;:-)
|Date=2007-09-10
+
 
|Statut=Standard
+
For this purpose one's need to use the [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunctions extension from MediaWiki].  
|OS=Toutes
+
 
|Site=Forum
+
<br>
|SiteCode=6460
+
 
|Lien=http://user.services.openoffice.org/fr/forum/ftopic6460.html
+
{| border="1" style="width: 800px; height: 120px;"
}}
+
|+ If a was a working template...  
 
|-
 
|-
 +
! 2nd Parameter: Position. Mapping:
 +
! Call
 +
! Result of the template&nbsp;:
 +
|-
 +
| <center>
 +
{| style="width: 360px; height: 90px;"
 +
|-
 +
| Nine values from 1 to 9
 +
::From Top Left
 +
:::To bottom Right
 +
 +
|
 +
{|
 +
|-
 +
| 1
 +
| 2
 +
| 3
 +
|-
 +
| 4
 +
| 5
 +
| 6
 +
|-
 +
| 7
 +
| 8
 +
| 9
 
|}
 
|}
  
 +
|}
 +
</center>
 +
| <center>'''Code&nbsp;:'''<br><nowiki>{{Icon|Calc|3|40}}</nowiki></center>
 +
| <div style="float: right; margin-top: 2px;">[[Image:Calc.png|40px]]</div>
 +
The result is now a 40 pixels floating Calc icon, at the top right of the cell...
  
This way we could have a normalization for formatting pages that point to external links. The'll all have the same look and could be easily categorized, and thus the reader could see (at least in the FR domain) much more documentation easily...
+
|}

Latest revision as of 11:20, 31 May 2009

First I would like to apologize to speak and write such a bad english... but as my fathers always told me, the first and most important thing is to be understood ! I simply try this here ;-) Feel free to correct my misspellings and thanks in advance, for that too.

I'm trying to focuses only on the Documentation Project... and particularly on it's structure. With the fact that there is an international project and some documentation in many languages, even if the native-lang one is (naturally) the more represented.

The goal of this short page is to define a valuable category tree for (the French) localization(s).

After update , I redefine the goal of this page with more headings. Hopefully the page name is still valid. :-)

About Categories

How should I attribute categories so that all the French documentation (for example) could appears in a nice way through dynamic page lists ?

I see two major and different ways to could use them :

For example, I've just added a new French entry in Documentation FAQ about paragraph styles in Writer. (It's not a translation of another language).

  1. Keywords
    In the case of a "keyword" behavior, I'll add four categories :
    1. [[Category:Documentation]]
    2. [[Category:FR]]
    3. [[Category:Writer|Style_Paragraphe]], so that in the Writer category it will be sorted at "Style_Paragraphe" (yes, with the final "e" cause we are in the FR domain)
    4. [[Category:FAQ|Style_Paragraphe]]
    With this concept a category such as Writer could become huge and thus not really readable. It could only be used through <DPL> requests. On the other side there are not hundred of categories for each language, because "Documentation", "Writer" and "FAQ" are common words for nearly every localization.
  2. Meta-Keywords
    There's just one category to use : It would be just like the Category:Documentation/FAQ/Writer, and by this way there's nothing to change with English language.
    This concept imply much more categories to be created for each language. And Documentation from different countries could not be retrieved so easily, although each country should have it's own Documentation category, with the Category:Documentation and the Category:NLC as super-category
  3. A compromise
    Using both Category:Documentation/FAQ/Writer and Category:FR
    But if it look easy for others language, this will all mix in the English Documentation.
    Or the same apply in English with the combination of both Category:Documentation/FAQ/Writer and Category:EN

The second option has been retained.

About Templates

Citation of a page/file of an external site

Should it be a nice idea to have one or two (or even more) templates for refering to external documentation ?

Something near from those for WikiPedia : http://en.wikipedia.org/wiki/Wikipedia:Template_messages/Sources_of_articles#Examples

We could have Template:CitePage for an external page and Template:CiteFile for a downloadable file direct link... or one template with more sophisticated parameters...

And in the same way, i.e. the French version, Template:FR/CitePage and Template:FR/CiteFichier

A French Example with http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460
Entering Could give
{{FR/Cite_Page|
|Titre=Débuter à partir d'une application exemple commentée
|Description=Questions fréquentes sur la mise en oeuvre de Base. 
Les exemples présentés ici n'utilisent volontairement aucune macro.
|Module=Base
|Date=2007-09-10
|Site=Forum-FR
|Link=6460
}}
Base.png
Débuter à partir d'une application exemple commentée

Questions fréquentes sur la mise en oeuvre de Base. Les exemples présentés ici n'utilisent volontairement aucune macro.
Dernière mise à jour : 10 Sept. 2007
Lien : http://user.services.openoffice.org/fr/forum/ftopic6460.html
Or it could look like Template:Specification Header
Specification Status
Author Pierre-Yves Samyn
Last Change 2007-09-10
Status (Help) Standard
My first Template ! Template:FR/CitePage
{{FR/CitePage|
|Titre=This title is given via a template...
|Auteur=Pierre-Yves Samyn
|Description=Le Titre véritable est : 
Débuter à partir d'une application exemple commentée. 
Questions fréquentes sur la mise en oeuvre de Base. 
Les exemples présentés ici n'utilisent volontairement aucune macro.
|Module=Base
|Date=2007-09-10
|Statut=Standard
|OS=Toutes
|Site=Forum
|SiteCode=6460
|Lien=http://user.services.openoffice.org/fr/forum/ftopic6460.html
}} 
See FR/Externe/Base/Documents/Debuter:_Application_exemple_commentee


This way we could have a normalization for formatting pages that point to external links. The'll all have the same look and could be easily categorized, and thus the reader could see (at least in the FR domain) much more documentation easily...

Icon

For icon display, I intend to build : Template:Icon. If it fail it will only be candidate for speedy deletion :-)

For this purpose one's need to use the ParserFunctions extension from MediaWiki.


If a was a working template...
2nd Parameter: Position. Mapping: Call Result of the template :
Nine values from 1 to 9
From Top Left
To bottom Right
1 2 3
4 5 6
7 8 9
Code :
{{Icon|Calc|3|40}}
Calc.png

The result is now a 40 pixels floating Calc icon, at the top right of the cell...

Personal tools