Skip to content

Link urls not relative to language #30

@thewebisyourfriend

Description

@thewebisyourfriend

I have been searching for a tool I could use in my build process to translate a simple blog into multiple languages getting the translations from json, and this tool looks great for this. However I cannot get the file path attributes to become relative for each language.

For example:

<link rel="stylesheet" type="text/css" href="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/assets/app.css">
<a href="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/blog/test-post/" rel="bookmark">Test Post</a>
<script src="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/assets/vendor.js" async></script>
<script src="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/assets/app.js" async></script>

All remain the same url for each language....

Also I was not sure how to translate the <html lang="en"> tag either.

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