Skip to content

Translations Manager UI #1153

Description

@stevenle

Description

Add the translations manager ui that is capable of draft/published states, where translations files are tied to content docs. The translations manager ui can also store non-doc translations, such as for global ui strings.

DB storage is already written, so it's just a matter of wiring up the UI.

Note this issue is just for managing the translations stored in the system (creating strings, importing/exporting, editing and saving translations, etc.). The translations request flow would be handled in #480

Task is kicked off in claude code with the following prompt:

the current version of root's translations system makes it not possible to preview translations before publishing. i'd like to create a "v2" version of translations handling, managed through what i'd call the "translations manager".

we already have some code written for the translations manager's firestore db storage, i'd like to plan out more thoroughly and implement the ui for it. let's do it as an opt-in experimental version first so we can test out the kinks before making it the default.

some things about the ui:

- the ui should resemble similar to a filesystem hierarchy, where we have paths like <Collection>/<docSlug> (slugs with `--` should be treated as subfolders)
- users should be able to create special translations files that are not tied to a doc (like for "global" strings, e.g. header/footer strings or ui common strings like "Learn more")
- when the translations doc is clicked on, it should show the translations editor page for that translations doc and its corresponding doc (if it exists) - the translations page should automatically extract strings form the doc
- it should have draft editing and publishing options, the ability to import/export the translations to a translations service (like google sheets)
- publishing the doc should automatically publish the translations doc

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions