Template talk:Archive: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Mefisto1029 (talk | contribs)
 
 
Line 2: Line 2:


{{T|Translation}} do not work for PAGENAME, idk why and I don't want to go too much into it. It works for first param. ~~ [[User:Mefisto1029|Mefisto1029]] ([[User talk:Mefisto1029|talk]]) 09:59, 23 October 2024 (UTC)
{{T|Translation}} do not work for PAGENAME, idk why and I don't want to go too much into it. It works for first param. ~~ [[User:Mefisto1029|Mefisto1029]] ([[User talk:Mefisto1029|talk]]) 09:59, 23 October 2024 (UTC)
: The PAGENAME includes the language suffix (e.g. /pl), so on translated page it would include that in the word to translated which doesn't work as you've found. I've changed the template to use [[Template:No language suffix/No namespace]] instead, which strips the language suffix. -- [[User:Bilka|Bilka]] ([[User talk:Bilka|talk]]) - <span style="color:#FF0000">Admin</span> 14:59, 20 January 2025 (UTC)

Latest revision as of 14:59, 20 January 2025

Translation do not work for PAGENAME

{{Translation}} do not work for PAGENAME, idk why and I don't want to go too much into it. It works for first param. ~~ Mefisto1029 (talk) 09:59, 23 October 2024 (UTC)

The PAGENAME includes the language suffix (e.g. /pl), so on translated page it would include that in the word to translated which doesn't work as you've found. I've changed the template to use Template:No language suffix/No namespace instead, which strips the language suffix. -- Bilka (talk) - Admin 14:59, 20 January 2025 (UTC)