proga:LMW. How to add the interface for a new language: Difference between revisions

From Lojban
Jump to navigation Jump to search
No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
Learning
Consider you have a language with ISO-code ''qqx'' and the name of the language is NAMEOFYOURLANGUAGE.
 
In the instruction below replace this code and the name with the ones you need.
 
If you want to add a new language to the wiki so that it appears on the main page and in the sidebar you need the following:
*Translate the following strings to the language ''qqx'':
**"Learning" will be "Blabla-learning" in the language ''qqx''. Open the page "Mediawiki:tadni/''qqx''" and add the text "Blabla-learning" there. Open the page "Mediawiki:tadni-url/''qqx''" and add the text "Blabla-learning/''qqx''" there. Open the page "Blabla-learning/''qqx''" in the wiki and write down information on learning Lojban, learning materials in the language ''qqx'' there (or it can be a link to the section of the Welcome page).
**"Questions" will be "Blabla-questions" in the language ''qqx''. Open the page "Mediawiki:questioning/''qqx''" and add the text "Blabla-questions" there. Open the page "Mediawiki:questioning-url/''qqx''" and add the text "Blabla-questions/''qqx''" there. Open the page "Blabla-questions/''qqx''" in the wiki and write down information on answers to frequently asked questions on Lojban in the language ''qqx'' there.
**"Contacts" will be "Blabla-contacts" in the language ''qqx''. Open the page "Mediawiki:contacting/''qqx''" and add the text "Blabla-contacts" there. Open the page "Mediawiki:contacting-url/''qqx''" and add the text "Blabla-contacts/''qqx''" there. Open the page "Blabla-contacts/''qqx''" in the wiki and write down there e-mails, links to social network profiles or links to the pages in the wiki of those people who can help you with Lojban in the language ''qqx''.
**"Welcome!" will be "Blabla-welcome!" in the language ''qqx''. Open the page "Mediawiki:fi'i papri/''qqx''" and add the text "Blabla-welcome!/NAMEOFYOURLANGUAGE" there. Notice that you need NAMEOFYOURLANGUAGE in brackets there. Open the page "Blabla-welcome!/''qqx''" in the wiki and write down the basic information about Lojban, how to learn it, give basic links on Lojban in language ''qqx'' there. You can base the text on the page [[Welcome!/en]].
**"Recent changes" will be "Blabla-Recent changes" in the language ''qqx''. Open the page "MediaWiki:Recentchanges/''qqx''" and add the text "Blabla-Recent changes" there.
**"Web chat" will be "Blabla-Web Chat" in the language ''qqx''. Open the page "MediaWiki:Webchat/''qqx''" and add the text "Blabla-Web Chat" there.
<!--**Translate the following text to language "''qqx''" and put it into the content of MediaWiki:Webchat-header/''qqx'' page. Don't translate the word "Connect" !
**:<code>{{:MediaWiki:Webchat-header/en}}</code>-->
*Open MediaWiki:Mlana20 page, edit it and add the following line before the last line with <nowiki><div></nowiki>:
*:<code><nowiki><span style="margin-left:1em;white-space:nowrap;">[http://mw.lojban.org/index.php?title=Lojban&setlang=qqx {{#language:qqx}}]</span></nowiki></code>

Latest revision as of 13:07, 21 August 2015

Consider you have a language with ISO-code qqx and the name of the language is NAMEOFYOURLANGUAGE.

In the instruction below replace this code and the name with the ones you need.

If you want to add a new language to the wiki so that it appears on the main page and in the sidebar you need the following:

  • Translate the following strings to the language qqx:
    • "Learning" will be "Blabla-learning" in the language qqx. Open the page "Mediawiki:tadni/qqx" and add the text "Blabla-learning" there. Open the page "Mediawiki:tadni-url/qqx" and add the text "Blabla-learning/qqx" there. Open the page "Blabla-learning/qqx" in the wiki and write down information on learning Lojban, learning materials in the language qqx there (or it can be a link to the section of the Welcome page).
    • "Questions" will be "Blabla-questions" in the language qqx. Open the page "Mediawiki:questioning/qqx" and add the text "Blabla-questions" there. Open the page "Mediawiki:questioning-url/qqx" and add the text "Blabla-questions/qqx" there. Open the page "Blabla-questions/qqx" in the wiki and write down information on answers to frequently asked questions on Lojban in the language qqx there.
    • "Contacts" will be "Blabla-contacts" in the language qqx. Open the page "Mediawiki:contacting/qqx" and add the text "Blabla-contacts" there. Open the page "Mediawiki:contacting-url/qqx" and add the text "Blabla-contacts/qqx" there. Open the page "Blabla-contacts/qqx" in the wiki and write down there e-mails, links to social network profiles or links to the pages in the wiki of those people who can help you with Lojban in the language qqx.
    • "Welcome!" will be "Blabla-welcome!" in the language qqx. Open the page "Mediawiki:fi'i papri/qqx" and add the text "Blabla-welcome!/NAMEOFYOURLANGUAGE" there. Notice that you need NAMEOFYOURLANGUAGE in brackets there. Open the page "Blabla-welcome!/qqx" in the wiki and write down the basic information about Lojban, how to learn it, give basic links on Lojban in language qqx there. You can base the text on the page Welcome!/en.
    • "Recent changes" will be "Blabla-Recent changes" in the language qqx. Open the page "MediaWiki:Recentchanges/qqx" and add the text "Blabla-Recent changes" there.
    • "Web chat" will be "Blabla-Web Chat" in the language qqx. Open the page "MediaWiki:Webchat/qqx" and add the text "Blabla-Web Chat" there.
  • Open MediaWiki:Mlana20 page, edit it and add the following line before the last line with <div>:
    <span style="margin-left:1em;white-space:nowrap;">[http://mw.lojban.org/index.php?title=Lojban&setlang=qqx {{#language:qqx}}]</span>