Hello. Can I make a translation YAML file for a custom page? I am having many variables in the global translations files now and it is bad for supporting.
No, you can not.
A number of the i18n files that I have seen are too complicated, implementing pluralization when none is needed. For example, let’s say you want to translate the english word “help”.
What I typically see (TOML):
[help] other = "help translated"
Because no pluralization rules are involved (it’s a verb, not a noun), this is sufficient:
help = "help translated"
Thanks. It would be convenient if we added the ability to connect custom language files to a .md file or template.