I'm currently experimenting with a variant of the existing prompt.
Besides a general rewrite, for example to try and solve a problem with missing closing periods, I think there's value in passing the comment and string ID to the LLM to provide additional context.
Other things that might be worth investigating in the future, but not as part of this iteration:
- Test gpt5-mini instead of gpt4.1, across a few languages.
- Store more context, e.g. some info about the project (additional field in the model), and some structured info about files. That could be interesting for Firefox, where specific files (e.g. asrouter.ftl) are more marketing oriented, and might benefit from a looser translation.
I'm currently experimenting with a variant of the existing prompt.
Besides a general rewrite, for example to try and solve a problem with missing closing periods, I think there's value in passing the comment and string ID to the LLM to provide additional context.
Other things that might be worth investigating in the future, but not as part of this iteration: