I have a simple question: I would like to write a multilingual bot script to localise Magic words like:
{{DEFAULTSORT: => {{AAKKOSTUS: {{CLEDETRI: {{DEFAŬLTORDIGO: {{ORDENA: {{SORTIERUNG: {{SORTUJ: etc.
What algorithm could I use to translate a Magic word in the local language of a Wikipedia?