Valve Developer Community:Discussion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎lang and multipage: new section)
No edit summary
Line 7: Line 7:
| time = 20:15, 23 Dec 2023
| time = 20:15, 23 Dec 2023
| 1 = Anybody know how to transition pages using {{tl|link=lang}} to {{tl|link=multipage}}? The amount of pages (especially quite important ones) using lang has really hampered my translating efforts. Are you supposed to move all the translated pages like Category:Modding:fr to Category:Modding/fr individually and mark all the old pages with deletion. I know there's some info on the multipage documentation page, but it's a bit unclear and I'd really rather not create some big mess.
| 1 = Anybody know how to transition pages using {{tl|link=lang}} to {{tl|link=multipage}}? The amount of pages (especially quite important ones) using lang has really hampered my translating efforts. Are you supposed to move all the translated pages like Category:Modding:fr to Category:Modding/fr individually and mark all the old pages with deletion. I know there's some info on the multipage documentation page, but it's a bit unclear and I'd really rather not create some big mess.
}}
{{Message
| user = Pee
| time = 21:09, 23 Dec 2023
| 1 = Move the English page to [page name]/en, then for all other languages, move them to be subpages of the base page (e.g. from Main Page:es to Main Page/es). Assuming no pages link to the original language page, mark it for deletion. After that, replace all instances of {{tl2|lang}} on the subpages with {{tl2|langsp}}, and if the page should have a different title in said language, instead use {{tl2|langsp|title{{=}}[translation]}}. Remove any categories the subpages are in. Then, add {{tl2|MultiPage}} to the base page and place categories there as well. If {{tl2|this is a}} was on the English page, move it to the base page, it'll automatically translate based on the language.
}}
}}

Revision as of 14:09, 23 December 2023

Icon-message-48px.png
This is the discussion page of Valve Developer Community:Discussion. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

lang and multipage

(using Template:Message) Anybody know how to transition pages using {{lang}} to {{multipage}}? The amount of pages (especially quite important ones) using lang has really hampered my translating efforts. Are you supposed to move all the translated pages like Category:Modding:fr to Category:Modding/fr individually and mark all the old pages with deletion. I know there's some info on the multipage documentation page, but it's a bit unclear and I'd really rather not create some big mess. --Wisdurm (talk) 20:15, 23 Dec 2023 (UTC)


(using Template:Message) Move the English page to [page name]/en, then for all other languages, move them to be subpages of the base page (e.g. from Main Page:es to Main Page/es). Assuming no pages link to the original language page, mark it for deletion. After that, replace all instances of {{lang}} on the subpages with {{langsp}}, and if the page should have a different title in said language, instead use {{langsp|title=[translation]}}. Remove any categories the subpages are in. Then, add {{MultiPage}} to the base page and place categories there as well. If {{this is a}} was on the English page, move it to the base page, it'll automatically translate based on the language. --Pee (talk) 21:09, 23 Dec 2023 (UTC)