How to add a language to Wandora

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(See also)
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
Although topic maps may contain any set of variant name and occurrence scopes Wandora shows only names that have been defined as an instance of '''Wandora language''' topic. By default these language scopes are
+
By default Wandora supports language topics
  
 
* '''English language''' with a subject identifier http://www.topicmaps.org/xtm/1.0/language.xtm#en
 
* '''English language''' with a subject identifier http://www.topicmaps.org/xtm/1.0/language.xtm#en
Line 6: Line 6:
 
* '''Language independent''' with a subject identifier http://www.wandora.org/core/langindependent
 
* '''Language independent''' with a subject identifier http://www.wandora.org/core/langindependent
  
In order to add another language to Wandora just 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.
+
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'''.
  
To hide topic names, open the language topic and remove '''Wandora language''' class with '''Topics > Delete from topic > Loose classes'''.
 
  
To hide all variants select '''View > View names''' in top menu bar. Selecting the option again toggles visibility of variant names.
+
[[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.
Line 16: Line 20:
 
== See also ==
 
== See also ==
  
* [[How to add name type to Wandora]].
+
* [[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