Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for customizing the process of machine translation. #1242

Open
adyingdeath opened this issue Nov 28, 2024 · 0 comments
Open

Support for customizing the process of machine translation. #1242

adyingdeath opened this issue Nov 28, 2024 · 0 comments

Comments

@adyingdeath
Copy link

Is your feature related to a specific framework or general for this extension
General. This feature is for a more customizeable machine translation process.

Is your feature request related to a problem? Please describe.
Yes, my feature request is related to a specific problem I'm facing. I would like to have the ability to automatically translate my language assets. Additionally, I want to customize the translation prompts used by the LLM to better suit my needs. Currently, the machine translation methods are predefined and offer limited control, which makes it difficult to achieve the desired outcomes. Having more flexibility in customizing the translation process would greatly enhance the usability and effectiveness of the tool for my specific requirements.

Describe the solution you'd like
I think there can be a way where we define a JavaScript function for the translation process. Users can choose between using predefined methods, which are easy to implement, or defining their own JavaScript function for the process. The function would have a specific format, including input parameters like the expression in the active language, the target language, the keypath, the description, and any other necessary details. It would then output the translation result for the given language.

This approach would allow us to implement any translation services we want to use and perform any post-processing needed for the translated language assets. I believe this feature would be very helpful and flexible for various use cases.

Additional context
Nothing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant