Skip to content

Translation in French.#52

Open
Felzow47 wants to merge 1 commit intorockfactory:devfrom
Felzow47:main
Open

Translation in French.#52
Felzow47 wants to merge 1 commit intorockfactory:devfrom
Felzow47:main

Conversation

@Felzow47
Copy link
Copy Markdown

@Felzow47 Felzow47 commented Jan 29, 2026

I added the file for the translation in french but it still need to add a button to make the switch between french and english and if needed i can translate in to other language

and i will try to add a button to make the switch between the different language

and also it's just the object / recipes / buildable that's is translated not the website

@Felzow47
Copy link
Copy Markdown
Author

I'm too lazy to think it through, so it's needed to add a language dropdown in settings so item and recipe names can be shown in the selected language (e.g. English, Français, Italiano).
Data
Per-language data lives under src/recipes/languages/

en/, fr/, and it/ each contain FactoryItems.json and FactoryRecipes.json (same structure, just translated text).

{6E18307C-4607-48BF-9CAF-2B2CB6191412}

The idea is a dropdown menu like that. (but my code is garbage so it don't work)
image

And there's a preview of the French language working when replacing it in the original .json:
image

@Felzow47 Felzow47 changed the base branch from main to dev January 31, 2026 10:12
@rockfactory
Copy link
Copy Markdown
Owner

This is definitely harder than this, I'm sorry. We need to support proper localization everywhere. I don't have the bandwidth right now to check this so, if you've got the time to work on this I'll be more than happy to review it.

@rockfactory rockfactory added the need changes Changes have been requested label Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

need changes Changes have been requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants