Template:Language/page: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{todo|put useful stuff here ?}} == See Also == * {{Lx|Project:Alternative Languages}} * Category:Translation * Category:To be translated * :Category:{{language}...") |
No edit summary |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{#switch:{{Language/0}} | ||
|#default = | |||
Here are the steps for translating a page in English into other languages: | |||
# Copy the content of the English page. If there isn't a {{T|LanguageBar}}, then you should add one at the start of the page. | |||
# Follow the requirement of titles to entry the creating page of the corresponding language page. | |||
# Start translating. Conventions: | |||
## The links on the translated page within this website need to use template {{T|L}}. For example, {{Code|<nowiki>[[ExampleLink]]</nowiki>}} will become {{Code|<nowiki>{{L|ExampleLink}}</nowiki>}}. If the link has alternative name, then follow this format: {{Code|<nowiki>{{L|<link name>|<alternative name>}}</nowiki>}}. So you can use altname for translating links. {{Code|<nowiki>{{L|Cubemaps|反射贴图}}</nowiki>}} is an example, which is used in Chinese. External links don't need. | |||
## The categories on the page also need to use {{T|ACategory}}. The method is the same as above. For example, {{Code|<nowiki>[[Category:Entities]]</nowiki>}} will become {{Code|<nowiki>{{ACategory|Entities}}</nowiki>}}. <br>If the category is a link instead of that adding the page to itself, use {{T|LCategory}} (i.e. {{Code|<nowiki>[[:Category:Entities]]</nowiki>}} → {{Code|<nowiki>{{LCategory|Entities}}</nowiki>}}). These 2 templates also support altname like that in {{T|L}}. | |||
## Templates itself remain unchanged because the language and text inherent in the template are automatically translated. But you need to translate the value of the parameter used in the template. For example, the notes written by {{T|Note}} won't be translated and you should translate them. | |||
# After finishing translating, save your contributions. | |||
For more info, see this page {{Lx|Project:Alternative Languages}}. | |||
| hr = | |||
Evo koraka za prevođenje stranice s engleskog na druge jezike: | |||
== See Also == | # Kopirajte sadržaj engleske stranice. Ako ne postoji {{T|LanguageBar}}, trebali biste je dodati na početak stranice. | ||
# Slijedite zahtjev naslova za ulazak na stranicu za kreiranje stranice odgovarajućeg jezika. | |||
# Počnite prevoditi. konvencije: | |||
## Veze na prevedenoj stranici unutar ove web stranice moraju koristiti predložak {{T|L}}. Na primjer, {{Code|<nowiki>[[PrimjerLink]]</nowiki>}} postat će {{Code|<nowiki>{{L|PrimjerLink}}</nowiki>}}. Ako veza ima alternativni naziv, slijedite ovaj format: {{Code|<nowiki>{{L|<naziv veze>|<alternativno ime>}}</nowiki>}}. Dakle, možete koristiti altname za prijevod poveznica. {{Code|<nowiki>{{L|Cubemaps|反射贴图}}</nowiki>}} je primjer, koji se koristi u kineskom. Vanjski linkovi nisu potrebni. | |||
## Kategorije na stranici također moraju koristiti {{T|ACategory}}. Metoda je ista kao gore. Na primjer, {{Code|<nowiki>[[Category:Entities]]</nowiki>}} postat će {{Code|<nowiki>{{ACategory|Entities}}</nowiki>}}. <br>Ako je kategorija poveznica, a ne sama sebi dodaje stranicu, koristi {{T|LCategory}} (tj. {{Code|<nowiki>[[:Category:Entities]]</nowiki>}} → {{Code|<nowiki>{{LCategory|Entities}}</nowiki>}}). Ova 2 predloška također podržavaju alternativno ime poput onog u {{T|L}}. | |||
## Sami predlošci ostaju nepromijenjeni jer se jezik i tekst svojstveni predlošku automatski prevode. Ali trebate prevesti vrijednost parametra koji se koristi u predlošku. Na primjer, bilješke koje je napisao {{T|Note}} neće biti prevedene i trebali biste ih prevesti. | |||
# Nakon završetka prijevoda, spremite svoje doprinose. | |||
Za više informacija pogledajte ovu stranicu {{Lx|Project:Alternative Languages}}. | |||
| pt-br = | |||
Aqui estão as etapas para traduzir uma página em inglês para outros idiomas: | |||
# Copie o conteúdo da página em inglês. Se não houver uma {{T|LanguageBar}}, você deverá adicionar uma no início da página. | |||
# Siga os requisitos dos títulos para entrar na página de criação da página do idioma correspondente. | |||
# Comece a traduzir. Convenções: | |||
## Os links na página traduzida deste site precisam usar o modelo {{T|L}}. Por exemplo, {{Code|<nowiki>[[ExampleLink]]</nowiki>}} se tornará {{Code|<nowiki>{{L|ExampleLink}}</nowiki>}}. Se o link tiver um nome alternativo, siga este formato: {{Código|<nowiki>{{L|<nome do link>|<nome alternativo>}}</nowiki>}}. Portanto, você pode usar altname para traduzir links. {{Code|<nowiki>{{L|Cubemaps|反射贴图}}</nowiki>}} é um exemplo, que é usado em chinês. Você não precisa de links externos. | |||
## As categorias na página também precisam usar {{T|ACategory}}. O método é o mesmo que o descrito acima. Por exemplo, {{Code|<nowiki>[[Category:Entities]]</nowiki>}} se tornará {{Code|<nowiki>{{ACategory|Entities}}</nowiki>}}. <br>Se a categoria for um link, em vez de adicionar a página a si mesma, use {{T|LCategory}} (ou seja, {{Code|<nowiki>[[:Category:Entities]]</nowiki>}} → {{Code|<nowiki>{{LCategory|Entities}}</nowiki>}}). Esses dois modelos também suportam altname como o de {{T|L}}. | |||
## Os próprios modelos permanecem inalterados porque o idioma e o texto inerentes ao modelo são traduzidos automaticamente. Mas você precisa traduzir o valor do parâmetro usado no modelo. Por exemplo, as notas escritas por {{T|Note}} não serão traduzidas e você deverá traduzi-las. | |||
# Os próprios modelos permanecem inalterados porque o idioma e o texto inerentes ao modelo são traduzidos automaticamente. Mas você precisa traduzir o valor do parâmetro usado no modelo. Por exemplo, as notas escritas por {{T|Note}} não serão traduzidas e você deverá traduzi-las. | |||
For more info, see this page {{Lx|Project:Alternative Languages}}. | |||
| zh = | |||
以下是将英文页面翻译成其他语言的步骤: | |||
# 复制英文页面的内容。如果页面中没有{{T|LanguageBar}},则应在页面开头添加一个。 | |||
# 按照标题要求进入相应语言页面的创建页面。 | |||
# 开始翻译。注意事项: | |||
## 翻译页面内的链接需要使用模板{{T|L}}。例如,{{Code|<nowiki>[[ExampleLink]]</nowiki>}} 将变为 {{Code|<nowiki>{{L|ExampleLink}}</nowiki>}}。如果链接有别名,请使用以下格式:{{Code|<nowiki>{{L|<链接名>|<别名>}}</nowiki>}}。因此,您可以使用别名来翻译链接。{{Code|<nowiki>{{L|Cubemaps|反射贴图}}</nowiki>}} 是一个例子,在中文中使用。外部链接不需要使用这个模板。 | |||
## 页面上的分类也需要使用{{T|ACategory}}。方法与上面相同。例如,{{Code|<nowiki>[[Category:Entities]]</nowiki>}} 将变为 {{Code|<nowiki>{{ACategory|Entities}}</nowiki>}}。<br>如果分类是链接而不是将页面添加到自身,请使用{{T|LCategory}}(即{{Code|<nowiki>[[:Category:Entities]]</nowiki>}} → {{Code|<nowiki>{{LCategory|Entities}}</nowiki>}})。这两个模板也支持像{{T|L}}中的替代名称。 | |||
## 模板本身不需要进行翻译,因为模板中的语言和文本会自动翻译。但需要翻译模板中使用的参数值。例如,{{T|Note}}书写的注释不会被翻译,您需要手动翻译它们。 | |||
# 完成翻译后,保存您的贡献。 | |||
For more info, see this page {{Lx|Project:Alternative Languages}}. | |||
}} | |||
== {{#switch:{{Language/0}}|#default=Common /string pages|hr=Zajedničke /string stranice}} == | |||
* [[Template:This is a/strings]] | |||
* [[Template:Translate/strings]] | |||
* [[Template:Doc/strings]] | |||
== {{#switch:{{Language/0}}|#default=See Also|hr=Vidi također}} == | |||
* {{Lx|Project:Alternative Languages}} | * {{Lx|Project:Alternative Languages}} | ||
* {{T|LanguageBar}} | |||
* {{T|Language}} | |||
* {{T|L}} | |||
* [[:Category:Translation]] | * [[:Category:Translation]] | ||
* [[:Category:To be translated]] | * [[:Category:To be translated]] | ||
* [[:Category:{{language}}/To be translated]] | * [[:Category:{{ucfirst:{{language}}}}/To be translated]] | ||
* [[:Category:Dictionary/Notices]] | |||
* [[:Category:Dictionary]] | |||
<includeonly>{{ACategory|Help}}</includeonly> |
Latest revision as of 23:54, 10 June 2025
Here are the steps for translating a page in English into other languages:
- Copy the content of the English page. If there isn't a {{LanguageBar}}, then you should add one at the start of the page.
- Follow the requirement of titles to entry the creating page of the corresponding language page.
- Start translating. Conventions:
- The links on the translated page within this website need to use template {{L}}. For example, [[ExampleLink]] will become {{L|ExampleLink}}. If the link has alternative name, then follow this format: {{L|<link name>|<alternative name>}}. So you can use altname for translating links. {{L|Cubemaps|反射贴图}} is an example, which is used in Chinese. External links don't need.
- The categories on the page also need to use {{ACategory}}. The method is the same as above. For example, [[Category:Entities]] will become {{ACategory|Entities}}.
If the category is a link instead of that adding the page to itself, use {{LCategory}} (i.e. [[:Category:Entities]] → {{LCategory|Entities}}). These 2 templates also support altname like that in {{L}}. - Templates itself remain unchanged because the language and text inherent in the template are automatically translated. But you need to translate the value of the parameter used in the template. For example, the notes written by {{Note}} won't be translated and you should translate them.
- After finishing translating, save your contributions.
For more info, see this page Project:Alternative Languages.
Common /string pages
See Also
- Project:Alternative Languages
- {{LanguageBar}}
- {{Language}}
- {{L}}
- Category:Translation
- Category:To be translated
- Category:En/To be translated
- Category:Dictionary/Notices
- Category:Dictionary