Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-file inline translations #64

Open
nandoAlbertengo opened this issue Aug 9, 2022 · 1 comment
Open

In-file inline translations #64

nandoAlbertengo opened this issue Aug 9, 2022 · 1 comment

Comments

@nandoAlbertengo
Copy link

Allow to specify the translations inline:

<!-- Panini-processed html template -->
<p> ${{template.common_use_case_text}}$ </p>

<!-- This came from a Partial -->
<p> ${{en: "Hi" | es: "Hola" }}$ </p>

This would allow edge cases like mine, where i have partials that must be translated too but after Foundations Panini joined them into the soon-to-translate template, effectively losing its original reference to its translation file.

@nandoAlbertengo
Copy link
Author

@webyom 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant