Skip to content

[WIP] Translation of strings starter#5031

Draft
Felienne wants to merge 29 commits into
mainfrom
translate-starter
Draft

[WIP] Translation of strings starter#5031
Felienne wants to merge 29 commits into
mainfrom
translate-starter

Conversation

@Felienne

@Felienne Felienne commented Jan 25, 2024

Copy link
Copy Markdown
Member

Work in progress for the simplest first step in #4656, translating a plain text string from one language to the other. I will make a list of steps here that I have taken, and a list of things that remain to be done.

How does current, keyword translation work?
Translation now work by analyzing the parse tree, adding nodes that need translation (currently only keywords) and then replaces these keywords with simple string replacement. If you need more details, @boryanagoncharenko (who is also in Discord) created this and can help you out.

Steps taken in this PR

@ghost

ghost commented Jan 25, 2024

Copy link
Copy Markdown
👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@Felienne

Copy link
Copy Markdown
Member Author

Hi @rania74!

I have made a small starter for that that translates code! I will add some more details but you can start exploring this PR.

@Felienne

Copy link
Copy Markdown
Member Author

This PR is a starter for @rania74, so it should stay open!

@Felienne

Felienne commented May 8, 2024

Copy link
Copy Markdown
Member Author

Hi people reading along (most likely @rania74)

I have made this PR a bit more extensive, now calling Google translate, and translating content inside of ASK.

@rix0rrr rix0rrr force-pushed the main branch 6 times, most recently from 674bb9f to 207fc8b Compare July 14, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant