[text] replaces any text the window shows. Give one text for every language, or a text per language:
bach.toml
[text]
install_title = { en = "Get {name}", de = "Hol dir {name}" }
install_subtitle = "The fastest way to write things down."
footer = "Made with care by {publisher}"
{name}, {version} and {publisher}. A few have their own placeholders, listed below. When the window speaks several languages and a text is given in only one, bach check points it out.
The built-in texts exist in all 19 languages. Your [text] replaces them per language.
Install
| Text | English default |
|---|---|
window_install | Setup |
install_title | Install |
install_subtitle | The app’s description. {description} works here. |
install_button | Install |
reinstall_title | Reinstall |
reinstall_subtitle | is already installed. Reinstalling keeps your data. |
reinstall_button | Reinstall |
update_title | Update |
update_subtitle | is installed. This updates it to and keeps your data. |
update_button | Update |
license_title | License agreement |
license_subtitle | Please read the terms before you install . |
license_accept | I agree |
location | Location |
choose_folder | Choose where to install |
preview | Preview |
footer | · Version |
Remove
| Text | English default |
|---|---|
window_remove | Remove |
remove_title | Remove |
remove_subtitle | This removes and its shortcuts from this computer. |
remove_button | Remove |
removed_title, removed_subtitle, removed_data_deleted, removed_data_kept | The last page after removing |
Buttons and common words
| Text | English default |
|---|---|
cancel, close, retry, change | Cancel, Close, Try again, Change |
open, open_short | Open , Open |
website, feedback | The link buttons on the last page |
Choices
| Text | English default |
|---|---|
desktop_shortcut, desktop_shortcut_description | Desktop shortcut, Start from your desktop too. |
start_menu, start_menu_description | Start menu, Find in the Start menu. |
start_with_windows, start_with_windows_description | Start with Windows, Open automatically when you sign in. |
add_to_path, add_to_path_description | Add to PATH, Run from any terminal. |
auto_update, auto_update_description | Automatic updates, Install new versions of {name} in the background while it isn’t running. Shown when [updates] offers the box. |
delete_data, delete_data_description | Also delete my data, Settings and files saved on this computer. |
Progress
| Text | English default |
|---|---|
installing, updating, removing | Installing , Updating , Removing |
step_preparing, step_copying, step_tidying, step_uninstaller, step_shortcuts, step_registering | The progress labels while installing |
step_removing, step_removing_shortcuts, step_unregistering, step_deleting_data, step_cleaning, step_done | The progress labels while removing |
step_downloading | The progress label while updating from the app |
step_finding, step_fetching | The online installer’s labels while it finds and downloads the newest version. step_fetching has {name} |
step_running | The label while a [[run]] step works. Placeholder: {task} |
step_migrating | The label while an older install by another installer is removed ([[migrate]]) |
Access key
| Text | English default |
|---|---|
access_title | Enter your access key |
access_subtitle | {name} is protected. Enter the key you were given to continue. |
access_hint | Access key |
access_button, access_paste, access_get | Continue, Paste, Get a key |
access_wrong | That key doesn’t fit. Check it and try again. |
[access].
Done
| Text | English default |
|---|---|
installed_title | is installed |
installed_subtitle | Find it in the Start menu, or open it now. |
installed_subtitle_plain | is ready to use. |
updated_title | is up to date |
Failures
| Text | English default |
|---|---|
install_failed, update_failed, remove_failed | couldn’t be installed (updated, removed) |
error_still_open, error_busy | The app is still open, or another setup is running |
error_in_use | A file is in use. Placeholder: {path} |
error_disk_full | Not enough disk space. Placeholders: {size}, {free} |
error_no_access | Access was denied. Placeholder: {path} |
error_create, error_write, error_delete, error_shortcut, error_delete_data, error_not_found | Errors about one file or folder. Placeholder: {path}. Windows’ own reason follows them. |
error_read_setup, error_damaged, error_uninstaller, error_register, error_unregister, error_system, error_open_failed | The rarer errors. Placeholder: {error} |
error_download | A failed download of an update. Placeholder: {error} |
error_fetch | The online installer could not download the app. Placeholder: {error} |
error_run | A [[run]] step failed. Placeholders: {task}, {code} (its exit code) |
error_patch_base | An update patch was started on files that are not the version it was made for |
problem_title, problem_damaged | The page a damaged setup file shows. problem_damaged has {error} |
Downgrade, closing the app and requirements
| Text | English default |
|---|---|
downgrade_title, downgrade_subtitle, downgrade_button | Installing over a newer version. downgrade_subtitle has {old_version} |
close_app, error_close_app | ”Close and continue”, and what it says when the app will not close |
requirement_skip | ”Continue anyway” on the requirement page |
support_save, support_saved, support_failed | ”Save support info” on the failed page, what it says once the file is on the desktop (“Saved on your desktop”), and when it could not be saved |
requirement_title, requirement_subtitle, requirement_button | The page for a missing requirement. All three have {requirement} |
Placeholders
| Placeholder | Available in |
|---|---|
{name}, {version}, {publisher} | Every text |
{description} | install_subtitle |
{old_version} | update_subtitle, downgrade_subtitle |
{path} | error_in_use, error_no_access, error_create, error_write, error_delete, error_shortcut, error_delete_data, error_not_found |
{size}, {free} | error_disk_full |
{error} | error_read_setup, error_damaged, error_uninstaller, error_register, error_unregister, error_system, error_open_failed, error_download, error_fetch, problem_damaged |
{task} | step_running, error_run |
{code} | error_run |
{requirement} | requirement_title, requirement_subtitle, requirement_button |
The source of truth for every English text and every translation is
crates/pack/src/i18n in the Bach repository.