How to add a language to Wandora

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Although topic maps may contain any set of variant name scopes Wandora views only names that have been defined as a instance of '''Wandora language''' topic. In order to add another language to Wandora you just need to create a topic for the language and add '''Wandora language''' as a class to the created language topic. '''Wandora language''' topic is an instance of '''Schema type''' topic.
+
By default Wandora supports language topics
  
To hide topic names, open the language topic and remove '''Wandora language''' class with '''Topics > Delete from topic > Loose classes'''.
+
* '''English language''' with a subject identifier http://www.topicmaps.org/xtm/1.0/language.xtm#en
 +
* '''Finnish language''' with a subject identifier http://www.topicmaps.org/xtm/1.0/language.xtm#fi
 +
* '''Swedish language''' with a subject identifier http://www.topicmaps.org/xtm/1.0/language.xtm#sv
 +
* '''Language independent''' with a subject identifier http://www.wandora.org/core/langindependent
  
To hide all variants select '''View > View names''' in top menu bar. Selecting the option again toggles visibility of variant names.
+
To add a language to Wandora just create a topic for the language and add '''Wandora language''' as a class to the created language topic. Wandora doesn't restrict anyhow language topics although it is a good practice to use existing naming conventions and ''published subject identifiers''. Next image views a topic '''Wandora language''' open in Wandora's [[Traditional topic panel]]. All default language topics are instances of topic '''Wandora language'''.
 +
 
 +
 
 +
[[File:topic_wandora_language.gif|center]]
 +
 
 +
 
 +
To hide a specific topic name, open the language topic and remove '''Wandora language''' class with '''Topics > Delete from topic > Delete classes'''.
 +
 
 +
To remove a specific language, remove the language topic. To remove the language permanently, you need to edit Wandora's base ontology topic map at '''build/resources/conf/wandora.xtm'''. Removing a language deletes also all variant names. Note, removing a language affects occurrences also!
  
 
To change the order of variant name text fields, add sort name to all language topics. Alphabetical order of sort name defines the position of text field.
 
To change the order of variant name text fields, add sort name to all language topics. Alphabetical order of sort name defines the position of text field.
 +
 +
== See also ==
 +
 +
* [[How to add a name type to Wandora]].

Latest revision as of 17:48, 22 February 2013

By default Wandora supports language topics

To add a language to Wandora just create a topic for the language and add Wandora language as a class to the created language topic. Wandora doesn't restrict anyhow language topics although it is a good practice to use existing naming conventions and published subject identifiers. Next image views a topic Wandora language open in Wandora's Traditional topic panel. All default language topics are instances of topic Wandora language.


Topic wandora language.gif


To hide a specific topic name, open the language topic and remove Wandora language class with Topics > Delete from topic > Delete classes.

To remove a specific language, remove the language topic. To remove the language permanently, you need to edit Wandora's base ontology topic map at build/resources/conf/wandora.xtm. Removing a language deletes also all variant names. Note, removing a language affects occurrences also!

To change the order of variant name text fields, add sort name to all language topics. Alphabetical order of sort name defines the position of text field.

[edit] See also

Personal tools