Meta talk:Babylon

Active discussions
Discussion pages Babylon talk page Archives
Welcome to the Babylon talk page! This place is dedicated to discussions about all the translations-related issues here on Meta-Wiki.
  • Meta is a multilingual project; so is this page. Any language is welcome here.
Filing cabinet icon.svg
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 30 days.


Hello, I would like to create a template that will be placed on a page that is regularly translated, not to translate the same over and over again. The text in the template would be translated once and after inserting it on the page, the translation language would automatically match. Is there such a possibility at all? If so, please provide a link to a sample implementation. Thank you in advance --Krzysiek 123456789 (talk) 21:34, 5 October 2020 (UTC)

This can be done through several ways:
  • You can include the template with {{TNT}} which will automatically include appropriate translation according to page language (example).
  • You can include the template with {{dynamite}} which will automatically include template translation according user language (example).
  • You can transclude template translation inside the template according to user language with {{TNTN|uselang={{int:lang}}}} (example).
  • You can self-transclude template translation inside the template according to page language (example).
The last one is probably the proper one to achieve what you want. --Pols12 (talk) 19:36, 6 October 2020 (UTC)

@Pols12: Could you help me to make an implementation? ☆Krzysiek 123456789 (talk) 08:24, 7 October 2020 (UTC)

I can try, can you link your template draft here? --Pols12 (talk) 08:54, 7 October 2020 (UTC)
@Pols12: Here. Firstly, I think it should be marked for translation. --Krzysiek 123456789 (talk) 15:37, 7 October 2020 (UTC)
@Krzysiek 123456789: If you plan to change how Tech News is translated, please discuss first at Talk:Tech/News/init#Reducing need for translating constant texts—I’d also like to reduce the weekly copying, but Johan’s concerns are also valid about the onboarding barrier for new languages. —Tacsipacsi (talk) 16:27, 8 October 2020 (UTC)

@Tacsipacsi: thank You for giving me this page because I was looking for it myself, but I will submit a complete, working and refined solution there. Could You help me with creating it in my sandbox? --Krzysiek 123456789 (talk) 21:00, 8 October 2020 (UTC)

@Krzysiek 123456789: I could, but I think it should be discussed before investing work in it. The concerns are not about a particular implementation, but rather about moving translation out of the main translation interface. No implementation other than the current one will completely eliminate this concern. —Tacsipacsi (talk) 19:46, 9 October 2020 (UTC)
@Tacsipacsi: Well, if that's your advice, I'll write there in a minute. --Krzysiek 123456789 (talk) 20:27, 9 October 2020 (UTC)
Return to the project page "Babylon".