This repository was archived by the owner on Jun 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
6. Locale
Chris Dijkshoorn edited this page Apr 7, 2015
·
9 revisions
The interface of Accurator can show text in different languages, depending on the locale specified by the user and the available translations. New languages can be added to the label definition file cpack/accurator/rdf/accurator_ui.ttl. Adding translations can be done by adding literals with the language tag of the translation. This is the RDF with the interface labels for the intro page, including the translation to Dutch:
aui:intro a auis:UI ;
dcterms:title "Accurator intro UI"@en ;
aui:txtSlogan "Accurate Art Annotations"@en ;
aui:txtSubSlogan "Help us add information to artworks"@en ;
aui:btnRegister "Register"@en ;
aui:btnLogin "or Log in"@en ;
aui:lnkAbout "About Accurator"@en ;
aui:txtSlogan "Accurate Kunst Beschrijvingen"@nl ;
aui:txtSubSlogan "Help ons met het toevoegen van informatie aan kunstwerken"@nl ;
aui:btnRegister "Registreer"@nl ;
aui:btnLogin "of Log in"@nl ;
aui:lnkAbout "Informatie over Accurator"@nl .If a completely new locale is added, it should be included as an option selectable by the user in the profile page (cpack/accurator/web/html/profile.html and cpack/accurator/web/html/profile.js).