Difference between revisions of "User talk:Oguzkagan"

m
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:
== language links ==
== language links ==


I started to translate the Main Page, but I saw that internal links like '''[[Using Manjaro for Beginners|Using Manjaro]]''' not using the "Special:MyLanguage/" like this:  '''[[Special:MyLanguage/Using Manjaro for Beginners|<translate>Using Manjaro</translate>]]'''. Is there a reason for this? Or is there another method which will be used? Or must the language code added manually? Thanks! ---[[User:Megavolt|Megavolt]] ([[User talk:Megavolt|talk]]) 21:37, 27 March 2021 (UTC)
I started to translate the Main Page, but I saw that internal links like '''<nowiki>[[Using Manjaro for Beginners|Using Manjaro]]</nowiki>''' not using the "Special:MyLanguage/" like this:  '''<nowiki>[[Special:MyLanguage/Using Manjaro for Beginners|<translate>Using Manjaro</translate>]]</nowiki>'''. Is there a reason for this? Or is there another method which will be used? Or must the language code added manually? Thanks! ---[[User:Megavolt|Megavolt]] ([[User talk:Megavolt|talk]]) 21:37, 27 March 2021 (UTC)


== Switch to translated page automatically when available ==
== Switch to translated page automatically when available ==
Line 30: Line 30:


--[[User:Megavolt|Megavolt]] ([[User talk:Megavolt|talk]]) 07:51, 31 March 2021 (UTC)
--[[User:Megavolt|Megavolt]] ([[User talk:Megavolt|talk]]) 07:51, 31 March 2021 (UTC)
: Thanks, I set the settings. I am not sure it works. --[[User:Oguzkagan|Oguzkagan]] 12:05, 03 April 2021 (UTC)
:: Thank you! So good, so far. If I change my language at ULS, it changes also the to the translated text. Now the internal links must contain '''<nowiki>Special:MyLanguage/</nowiki>'''. So that if the language has been changed, it will detect the selected language and forward to the page of the same language if available, otherwise it will choose the original page. Maybe '''UILangCode''' can be also used in some use cases? Since it grabs the lang code of the interface automatically? Could be useful for transcluding templates of different languages.  --[[User:Megavolt|Megavolt]] ([[User talk:Megavolt|talk]]) 13:24, 3 April 2021 (UTC)
translator
278

edits