레소나이트 위키는 Translate MediaWiki extension 을 기능을 사용해 번역하여 다른 언어로 콘텐츠를 표시할 수 있습니다.
확장 기능으로는 extensive documentation 및 video tutorials available 이 있습니다.
아래에는 간략한 몇가지 정보가 있습니다.
번역하기
번역 하기전
자신의 계정이 "자동 조정된 사용자"로 표시되었는지 확인하십시오. 이것은 입력한 번역이 모더레이션 대기열로 이동하지 않습니다. 할 것:
- Make a single non-translation related edit and the wiki moderation team will pick up that edit and mark you as auto moderated.
- A good place to start is your personal user page. Tell us who you are!
== Preparing a page for translation ==
This information is based on mediawiki's tutorial.
- Ensure the page is at a reasonable level of stability
- Pages that are under construction or change frequently should not be included until they are ready.
- Add <languages /> to the top of the page in the source editing view.
- Surround translatable elements in <translate></translate> tags.
- See further guidance on this below
- Mark this page for translation
Best practices for translate tags
These are based on Mediawiki's Examples.
- Do not wrap the whole page in <translate>
- This is a problem we had in he past which lead to confusion sometimes.
- Instead wrap select parts with the tags.
- A good example is actually the source of previous linked mediawiki page.
- Be careful around:
- Tables
- Images
- Templates
- Lists
Tables
Don't:
<translate> {| class="wikitable" |+ Food complements |- |Orange |Apple |- |Bread |Pie |- |Butter |Ice cream |} </translate>
- Wrapping a whole table in translate tags makes it hard to translate.
Do
{| class="wikitable" |+<translate nowrap>Food complements</translate> |- |<translate nowrap>Orange</translate> |<translate nowrap>Apple</translate> |- |<translate nowrap>Bread</translate> |<translate nowrap>Pie</translate> |- |<translate nowrap>Butter</translate> |<translate nowrap>Ice cream</translate> |}
- Wrapping each individual item in translate tags makes it easier to translate.
Images
Wrap only, the description/alt-text in <translate> e.g.
[[File:MediaWiki database schema latest.svg|thumb|link=https://www.mediawiki.org/w/index.php?title=Manual:Database_layout/diagram&action=render|<translate>Database schema of MediaWiki core</translate>]]
Example Pages
The following pages have examples of good uses of the <translate> tags:
Tutorials
We have a number of tutorials available for translating pages: