Languages

frds is built to be translated. Every word of the interface comes from translation tables, and the app follows your computer's language, or the one chosen in Settings ▸ Appearance ▸ Language. Today it ships in English and Simplified Chinese (简体中文); any Chinese locale gets Simplified Chinese for now, and other languages fall back to English until they are translated.

The language covers the window, the menu bar, notifications, error messages and the shipped viewers, and switches without a restart. Errors that come from Windows or DuckDB are shown as the system words them.

Filter words in the search box, such as kind: and def:, stay in English in every language.

Languages of code

Separate from the interface, frds reads these kinds of files:

  • Lineage and go to definition: Stata, Python, Jupyter notebooks, R, SQL, Julia and LaTeX.
  • Syntax highlighting: Stata, SAS, Python, R, SQL, Julia, MATLAB, LaTeX, shell and PowerShell.
  • Shown formatted: Markdown, Quarto (.qmd) and R Markdown (.Rmd), with code chunks coloured in their language. The code is shown, not run.

Adding a language

The interface text is in src/i18n/ for the window and src-tauri/src/i18n.rs for the menu bar, notifications and error messages. docs/translating.md on GitHub describes how to add a language and how to check that nothing is left untranslated. Translations are welcome.