Difference between revisions of "Localisation"

From WikipediaPlus
Jump to: navigation, search
Line 20: Line 20:
 
|}
 
|}
  
== What Needs Translating ==
+
== How To Add A Language ==
 
The software locale consists of two strings to describe the extension (''Name'' and ''Description''), plus the following 6 files, of total size about 15K.
 
The software locale consists of two strings to describe the extension (''Name'' and ''Description''), plus the following 6 files, of total size about 15K.
 
* {{file|name=wikipediaPlus.dtd}}
 
* {{file|name=wikipediaPlus.dtd}}
Line 29: Line 29:
 
* {{file|name=addEditSite.properties}}
 
* {{file|name=addEditSite.properties}}
  
Around half of these files (the right-hand half) need translating.  
+
Around half of these files (the right-hand half) needs translating.  
  
 +
The '<font face="courier">.properties</font>' files are like this:
 
{|
 
{|
 
|'''InternalName (Not translated)'''
 
|'''InternalName (Not translated)'''
Line 47: Line 48:
 
|=
 
|=
 
|en
 
|en
 +
|}
 +
 +
The '<font face="courier">.dtd</font>' files are like this:
 +
{|
 +
|'''InternalName (Not translated)'''
 +
|&nbsp;&nbsp;&nbsp;&nbsp;
 +
|'''Displayed Text (Needs translation)'''
 +
|-
 +
|<font face="courier"><!ENTITY addEdit.use.current</font>
 +
|
 +
|<font face="courier">"</font>Use current<font face="courier">"></font>
 +
|-
 +
|<font face="courier"><!ENTITY addEdit.use.current.tip</font>
 +
|
 +
|<font face="courier">"</font>Add the current URL to the website list<font face="courier">"></font>
 +
|-
 +
|<font face="courier"><!ENTITY addEdit.language.single</font>
 +
|
 +
|<font face="courier">"</font>Single language<font face="courier">"></font>
 
|}
 
|}

Revision as of 09:50, 30 June 2013