Skip to content

feat(i18n): add french translation - #253

Open
methbkts wants to merge 46 commits into
xXJSONDeruloXx:mainfrom
methbkts:main
Open

methbkts wants to merge 46 commits into
xXJSONDeruloXx:mainfrom
methbkts:main

Conversation

@methbkts

@methbkts methbkts commented Aug 5, 2026

Copy link
Copy Markdown

Hello,
Thanks for your work !

This pull request adds a French translation to decky-lsfg-vk

xXJSONDeruloXx and others added 30 commits October 21, 2025 12:20
…malize

fix: normalize spaces in profile names w dashes for conf requirements…
- Add src/i18n/i18n.ts translation engine (ported from SimpleDeckyTDP)
- Add defaults/i18n/{ko,ja,template}.json with 80 translation keys
- Add defaults/i18n/language_metadata.json and steam_language_map.json
- Add scripts/build_i18n_json.sh to generate languages.json
- Apply t() to all 10 components: Content, ConfigurationSection,
  FlatpaksModal, FpsMultiplierControl, InstallationButton, NerdStuffModal,
  ProfileManagement, SmartClipboardButton, FgmodClipboardButton, UsageInstructions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Trigger on push/PR to main, language, gh-workflow branches
- Build i18n languages.json via jq before frontend build
- Build frontend with pnpm + rollup
- Package with Decky CLI and upload artifact
- Publish to GitHub Release on version tags (v*.*.*)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove TS ConfigurationManager class in configSchema.ts (called
  non-existent backend methods; only getDefaults() was used, replaced
  with direct import)
- Remove Python update_config method and create_config_from_args (unreachable
  since plugin.py routes through update_config_from_dict; also carried a
  duplicate @staticmethod that would crash at runtime)
- Delete configuration_helpers_generated.py entirely (all three functions
  were unused)
- Remove their generators from generate_python_boilerplate.py
- Remove dead generated code from config_schema_generated.py
  (create_config_dict, get_function_parameters, TOML_FIELDS, SCRIPT_FIELDS)
- Remove duplicate import in config_schema.py
- Remove unused config prop from UsageInstructions component
add experimental arm .so and overwrite logic on setup
…dead-code

Remove dead code across frontend and backend
@methbkts

methbkts commented Aug 5, 2026

Copy link
Copy Markdown
Author

I can set "MULTIPLIER_OFF": "OFF" instead if "MULTIPLIER_OFF": "DÉSACTIVÉ" break the design

EDIT: I build the plugin locally and tested it on my Deck in French, and sure enough, DÉSACTIVÉ is too long.
I changed it back to OFF, that’s better.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants