i18n: add translations for new v2.7 UI strings across 15 languages (de, fr, es, it, nl, pl, ru, uk, tr, pt_BR, sv, cs, hu, ko, ja)#10810
Open
BenJule wants to merge 5 commits into
Conversation
383fe88 to
44f4c11
Compare
01a305d to
2aa361f
Compare
The upstream build_all.yml only listed 'main' as a push trigger. BenJule/BambuStudio uses 'master' as its default branch, so CI never fired on fork-local pushes. Adding 'master' alongside 'main' makes the full multi-platform build run when master is updated.
… locale files The fila_manager web page was hardcoded in Chinese (lang="zh") with no internationalization support. This commit adds a lightweight i18n system: - Add locales/en.json and locales/zh_CN.json with all UI strings - Add t(key) / tf(key, n) translation helpers loaded at startup - Apply translations via data-i18n / data-i18n-placeholder attributes in HTML - Replace all hardcoded Chinese strings in index.js with t() calls - Language is resolved from the ?lang= URL parameter passed by C++
Previously untranslated strings added, covering: Texture import workflow (new in v2.7): - Multi-Color, Color Count, Smooth Level, Filament Mapping, New Filaments - Skip Matching, Add Material, Import Model, Processing - Computing/Applying texture colors, Texture Import Warning - Auto-merge same filament, Reminder: parameters changed, etc. Device status / calibration messages: - Paused (filament ran out), Heating nozzle, Pause (nozzle clog/clumping) - Pause (step loss/cutter error/front cover/Gcode/AMS offline) - Pause (nozzle/heatbed temperature malfunction, chamber control problem) - Calibrating flow ratio, dynamic flow, BirdsEye Camera - Waiting for heatbed, Updating 3D view, Placing model on bed Settings and descriptions: - Purge Mode Fast/Standard, Flush multiplier, Override overhang speed - Printer/Process/Filament presets (%d/%d), Auto Check Material - Bed/Y-axis mass and force limits, Software Update, Current Version UI labels and dialogs: - Filter, Recommend, Old version, Operation, High Temp, Saving - Nothing selected, Filament Manager, Skin/Skeleton infill pattern - New Beta Available, Don't show Beta updates, Separate config folder - File chooser dialogs, error messages, TPU warning
Fills previously missing msgstr entries in fr, es, it, nl, pl, ru, uk, tr, pt_BR, sv, cs, hu, ko, ja covering the same string categories already translated for de in a prior commit: - Texture import workflow (Multi-Color, Color Count, Filament Mapping, Skip Matching, Computing/Applying texture colors, Texture Import Warning, Auto-merge same filament, etc.) - Device status / pause messages (filament ran out, nozzle clog/clumping, step loss, AMS offline, heatbed/nozzle temperature malfunction, chamber control problem, Gcode by user, front cover, heatbreak fan) - Calibration states (flow ratio, dynamic flow, BirdsEye Camera, Live View Camera, motion accuracy) - General UI labels (Filter, Saving, Limits, Cool, Fast, Text, Software Update, Current Version, Filament Manager, Nothing selected, Purge Mode Fast/Standard, Printer/Process/Filament presets, etc.) - Beta update flow (New Beta Available, Don't show again, Why use Beta, Try Now, Importing model, Updating 3D view, Model imported)
2aa361f to
432106b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
BambuStudio v2.7 introduced several new features (texture import, enhanced device status) whose UI strings were never translated into German, leaving them displayed in English for German-speaking users.
Changes
43 missing
msgstrentries added tobbl/i18n/de/BambuStudio_de.po, grouped by area:Texture import workflow (new in v2.7):
Device status / calibration messages:
General UI labels:
Notes
bbl/i18n/de/BambuStudio_de.pois changed — no source code or other locales affectedMeasuring/Enhancing motion precision) are covered by a separate typo-fix PRCloses #10855.