Valve Developer Community:Discussion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Sidebar translation: Apparently the edited parameter screws up time for some reason)
Line 45: Line 45:
| user = Wisdurm
| user = Wisdurm
| time = 9:32, 15 Jun 2024
| time = 9:32, 15 Jun 2024
| edited = 1
| edited = 10:25, 15 Jun 2024
| 1 = The possibility for translating links in the sidebar is now open, as seen at [[MediaWiki_talk:Sidebar]]. However many translations are still missing. I'm thinking we should probably put them all on some page where wiki moderators can get them from later.<br>I looked at all the users in [[:Category:Translators]], and it seems currently we could get (from just people on this wiki currently) translations for English, Chinese, Croatian, Finnish, Russian and Vietnamese. {{User|Amicdict}} states that they translate to Esperanto, however they haven't been online in a bit. There's also {{User|Fabi135}} who translates to German and {{User|PowiDLa}} who translates to Ukranian, but they haven't been online in even longer.
| 1 = The possibility for translating links in the sidebar is now open, as seen at [[MediaWiki_talk:Sidebar]]. However many translations are still missing. I'm thinking we should probably put them all on some page where wiki moderators can get them from later.<br>I looked at all the users in [[:Category:Translators]], and it seems currently we could get (from just people on this wiki currently) translations for English, Chinese, Croatian, Finnish, Russian and Vietnamese. {{User|Amicdict}} states that they translate to Esperanto, however they haven't been online in a bit. There's also {{User|Fabi135}} who translates to German and {{User|PowiDLa}} who translates to Ukranian, but they haven't been online in even longer.



Revision as of 03:28, 15 June 2024

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) Here's everything you need to do for normal pages (templates are handled seperately, they should ideally just be one template that uses {{autolang}}) 1. Move the English page to [page name]/en

2. For all other languages, move them to be subpages of the base page (e.g. from Main Page:es to Main Page/es).

3. Assuming no pages link to the original language page, mark it for deletion.

4. 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]}}.

5. Remove any categories the subpages are in.

6. Add {{MultiPage}} to the base page and place categories there as well.

7. If {{this is a}} was on the English page, move it to the base page. It'll automatically translate based on the language.


So, if Main Page:es contained this:

{{lang|title=Display Title}} Page Contents [[Category:1]]

then Main Page/es should contain this (note the omission of the category):

{{langsp|title=Display Title}} Page Contents

As for categories, the pages in the category (not specifically the ones in the content of the page, but rather what follows "The following $1 pages are in this category, out of $2 total.") should be converted to MultiPage, so that the category should contain no pages. After that, just do what you would do for regular pages. --Pee (talk) 21:09, 23 Dec 2023 (UTC)

Sidebar translation

(using Template:Message) The possibility for translating links in the sidebar is now open, as seen at MediaWiki_talk:Sidebar. However many translations are still missing. I'm thinking we should probably put them all on some page where wiki moderators can get them from later.
I looked at all the users in Category:Translators, and it seems currently we could get (from just people on this wiki currently) translations for English, Chinese, Croatian, Finnish, Russian and Vietnamese. Amicdict states that they translate to Esperanto, however they haven't been online in a bit. There's also Fabi135 who translates to German and PowiDLa who translates to Ukranian, but they haven't been online in even longer.


EDIT: I've made a page in my user space for this at User:Wisdurm/Sandbox/Translators' noticeboard. Feel free to add translations. --Wisdurm (talk) 9:32, 15 Jun 2024 (UTC)