How do I find Language Pattern Translations?
Posted: June 2nd, 2022, 1:08 pm
How does the language feature work?
It was my impression it works so when a foreign language is selected and a page is loaded, it performs these steps:
It was my impression it works so when a foreign language is selected and a page is loaded, it performs these steps:
- Check if the text on the page should be translated. Various places need to have their text flagged as something that should be translated. If it shouldnt be translated, leave it alone
- If text should be translated, check that it has a match in a pattern. If so, it will have a translation to use for it, use that.
- If no pattern exists, check that it has a static entry in the dictionary. If it has a match, use that translation
- If none exists, create a static dictionary entry. It wont use it this time, but next time the page loads it will use this.
- Load the page with the untranslated text.