by Garrett Jones, 2026
This is a prompt that you can use with any sufficiently strong chatbot to get a high quality translation service, specifically with features to help with language learning.
You only need to copy the prompt language-root-translator-ipa.txt into a chatbot, specify the A_LANGUAGE (your own language) and the B_LANGUAGE (the language you are translating to/from) at the top of the prompt. To get translations targeted to a specific region, add that into the language description. After this is filled in, hit enter to start the translation service.
The prompt specifies several short command prefixes for common requests, to minimize the friction of the most highly used actions.
tr:: Auto-detect the language and translate the text.q:: Ask a question to the chatbot (don't translate this text)pr:: Provide the pronunciation (in IPA) of the input text.(type a context here) (before tr:): This clarifies what context the translation should target. This could be a physical location (grocery store), a digital context (banking app), a topic (cooking), a formality level (teenage slang), a different language variant than your main B_LANGUAGE, anything else.
(business) tr: Did you receive the bill? => Já recebeste a fatura?(restaurant) tr: Did you receive the bill? => Já recebeste a conta?(government) tr: Did you receive the bill? => Já recebeu o projeto de lei?[type in-text clarification/term/description here]: This can accomplish multiple things, and the chatbot can distinguish which it is.
tr: put it [a shoe] on => Calça-otr: put it [your hat] on => Põe-notr: I went to the [junta de freguesia] yesterday => Fui à junta de freguesia ontemtr: I like [the largest city in North Portugal] => Gosto do PortoLanguage Root Translator has multiple usability advantages over Google Translate.
The context can completely change what the best translation is. If you try to add context to Google translate, it gets included in the translation output.
I took a bowFiz uma vénia (leaning forward interpretation)tr: I took a bowFiz uma vénia (leaning forward interpretation)Levei um arco (archery context: if bow was meant as the weapon) (archery interpretation)Let's try to add context.
(archery) I took a bow(arquearia) Apanhei um arco (archery interpretation)(archery) tr: I took a bowPeguei num arco (archery interpretation)Levei um arco (if meaning "I took along / brought with me") (archery interpretation)Let's try a different interpretation of "bow".
I took a bow [for decorating a present]Fiz uma vénia [por decorar um presente] (leaning forward interpretation)tr: I took a bow [for decorating a present]Tirei um laço (decorative translation)Google Translate only provides the translation, and no explanation about the words that compose it.
Vou dar um jeito às ferramentasI'll figure out the tools.jeito on its own vs in the phrase dar um jeito.tr: Vou dar um jeito às ferramentasI'm going to sort out the tools (or tidy up / fix up the tools)
Translation Notes: Dar um jeito can mean physically organizing/tidying them, doing a minor repair/maintenance on them, or finding a solution/place for them depending on situation.pt word explanations:
o jeito /u ˈʒɐj.tu/:
knack / aptitude / skillway / mannerYou might think that just asking a chatbot directly to translate would work well, but in practice the result is inconsistent and has a bit of friction. Language Root Translator has several advantages:
The following is what Gemini Flash outputs, and demonstrates the problems with a chatbot with no prompt.
translate to European Portuguese: "I took a bow"I meant a bow in archerytranslate from European Portuguese into English: Vou dar um jeito às ferramentas2 commits
by Garrett Jones, 2026
This is a prompt that you can use with any sufficiently strong chatbot to get a high quality translation service, specifically with features to help with language learning.
You only need to copy the prompt language-root-translator-ipa.txt into a chatbot, specify the A_LANGUAGE (your own language) and the B_LANGUAGE (the language you are translating to/from) at the top of the prompt. To get translations targeted to a specific region, add that into the language description. After this is filled in, hit enter to start the translation service.
The prompt specifies several short command prefixes for common requests, to minimize the friction of the most highly used actions.
tr:: Auto-detect the language and translate the text.q:: Ask a question to the chatbot (don't translate this text)pr:: Provide the pronunciation (in IPA) of the input text.(type a context here) (before tr:): This clarifies what context the translation should target. This could be a physical location (grocery store), a digital context (banking app), a topic (cooking), a formality level (teenage slang), a different language variant than your main B_LANGUAGE, anything else.
(business) tr: Did you receive the bill? => Já recebeste a fatura?(restaurant) tr: Did you receive the bill? => Já recebeste a conta?(government) tr: Did you receive the bill? => Já recebeu o projeto de lei?[type in-text clarification/term/description here]: This can accomplish multiple things, and the chatbot can distinguish which it is.
tr: put it [a shoe] on => Calça-otr: put it [your hat] on => Põe-notr: I went to the [junta de freguesia] yesterday => Fui à junta de freguesia ontemtr: I like [the largest city in North Portugal] => Gosto do PortoLanguage Root Translator has multiple usability advantages over Google Translate.
The context can completely change what the best translation is. If you try to add context to Google translate, it gets included in the translation output.
I took a bowFiz uma vénia (leaning forward interpretation)tr: I took a bowFiz uma vénia (leaning forward interpretation)Levei um arco (archery context: if bow was meant as the weapon) (archery interpretation)Let's try to add context.
(archery) I took a bow(arquearia) Apanhei um arco (archery interpretation)(archery) tr: I took a bowPeguei num arco (archery interpretation)Levei um arco (if meaning "I took along / brought with me") (archery interpretation)Let's try a different interpretation of "bow".
I took a bow [for decorating a present]Fiz uma vénia [por decorar um presente] (leaning forward interpretation)tr: I took a bow [for decorating a present]Tirei um laço (decorative translation)Google Translate only provides the translation, and no explanation about the words that compose it.
Vou dar um jeito às ferramentasI'll figure out the tools.jeito on its own vs in the phrase dar um jeito.tr: Vou dar um jeito às ferramentasI'm going to sort out the tools (or tidy up / fix up the tools)
Translation Notes: Dar um jeito can mean physically organizing/tidying them, doing a minor repair/maintenance on them, or finding a solution/place for them depending on situation.pt word explanations:
o jeito /u ˈʒɐj.tu/:
knack / aptitude / skillway / mannerYou might think that just asking a chatbot directly to translate would work well, but in practice the result is inconsistent and has a bit of friction. Language Root Translator has several advantages:
The following is what Gemini Flash outputs, and demonstrates the problems with a chatbot with no prompt.
translate to European Portuguese: "I took a bow"I meant a bow in archerytranslate from European Portuguese into English: Vou dar um jeito às ferramentas2 commits