Skip to content

Example: localization invalidated a page by dropping an import #1

@anthonybailey

Description

@anthonybailey

This was generated:

https://github.com/PauseAI/paraglide/blob/b50bdd67fdb2050b61cc153759ba9d9471aeed5c/md/nl/local-organizing.md

The English source was:

https://github.com/PauseAI/pauseai-website/blame/9ce5b5fe985c0f583e56933736ebb5584a14207f/src/posts/local-organizing.md#L6

But the localization dropped the <script> block importing the SimpleToc construct, so it fails to render with an error.

(The equivalent DE localization didn't make the same mistake.)

Of course the true fix will ultimately be to the process for localizing and building, currently in PauseAI/pauseai-website/paraglide. Many options for reducing likelihood, better validation, better deploy behavior in presence of a bad localized page, etc.

But putting the issue here as a concrete illustration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions