18 Commits

Author SHA1 Message Date
Patrik Oldsberg aac778ba8c docs: adapt cross-cutting plugin docs into the frontend system section
Instead of just referencing the legacy docs/plugins documentation, adapt
and add them as new pages under frontend-system/building-plugins/ with
updated imports and examples for the new frontend system.

Also moves the OpenAPI sidebar entry under Framework instead of top-level.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 11:05:09 +01:00
Patrik Oldsberg 35e130c601 docs: sunset the docs/plugins section as legacy documentation
Mark all pages in docs/plugins/ with legacy admonition banners pointing
to the appropriate new frontend system and backend system documentation.
Rename the sidebar section to "Plugins (Legacy)" and move it lower in
the navigation hierarchy. Add cross-references from the new frontend
system building-plugins guide to relevant cross-cutting topics (i18n,
analytics, feature flags, search) that still live in the legacy section.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 10:49:54 +01:00
Patrik Oldsberg c76d42020d docs: remove references to specific external translation systems
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-18 12:43:03 +01:00
Patrik Oldsberg dd5f052017 cli: make messages/ part of the configurable --pattern flag
Moves the messages/ path segment from being hardcoded into the export
and import commands to being part of the pattern itself. The default
pattern is now messages/{id}.{lang}.json, giving full control over the
directory structure under the translations output directory.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-18 12:32:51 +01:00
Patrik Oldsberg fd50cb3401 docs: add changeset and documentation for translations CLI commands
Adds a changeset for the new translations export/import CLI commands.
Updates the internationalization docs with the CLI-based workflow as
the recommended approach for managing translations, and adds the
commands to the CLI reference. Also adds the internationalization
page to the mkdocs navigation.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-18 00:47:14 +01:00
Patrik Oldsberg 0bc1804ce5 core-{app,plugin}-api: switch i18n JSX support to no longer requrie explicit format
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-04-30 17:00:13 +02:00
Patrik Oldsberg 73f6cc3157 core-{app,plugin}-api: add support for JSX in translation messages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-04-29 16:56:57 +02:00
Teemu Koivumaa 4a68e8c455 docs: fix info how to make translations
add correct imports to example files
separate example files so they are easier to undestand

Signed-off-by: Teemu Koivumaa <teemu.koivumaa@op.fi>
2024-10-30 17:09:34 +02:00
Heikki Hellgren 8f5a3e885e docs(i18n): add more info how to make translations
add info how to make translations using the `createTranslationMessages`
and separate different languages to different files.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-08-21 12:56:46 +03:00
rui ma b865bc48cc update internationalization docs
Signed-off-by: rui ma <ruima@alauda.io>
2024-02-23 23:29:08 +08:00
blam 627dabd6d3 chore: some more smaller tweaks
Signed-off-by: blam <ben@blam.sh>
2023-12-14 15:50:23 +01:00
Ben Lambert bdd5d99e4c Apply suggestions from code review
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Ben Lambert <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
2023-12-14 15:30:26 +01:00
blam e40ee6597d chore: fix spelling
Signed-off-by: blam <ben@blam.sh>
2023-12-09 11:15:34 +01:00
blam 2c55a1a81b docs: start some i18n docs
Signed-off-by: blam <ben@blam.sh>
2023-12-09 11:12:25 +01:00
Patrik Oldsberg 772f4982cb docs: update internationalization to use camelCase and nested message declarations
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-24 13:50:33 +01:00
Rogerio Angeliski 2c8990e2c6 fix typo in internationalization doc
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2023-09-22 21:34:09 -03:00
Patrik Oldsberg 7633812431 docs: update internationalization docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-15 13:32:09 +02:00
rui ma 6e30769cc6 feat: Introduced experimental support for internationalization.
Signed-off-by: rui ma <ruima@alauda.io>
2023-09-04 23:51:46 +08:00