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

Translations #898

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

Ghesselink
Copy link

@Ghesselink Ghesselink commented Sep 20, 2024

Brief summary of current structure;
The script compiles .po files into .mo files and stores them in the cache, but only if the cache is not already populated. Otherwise, the translations are retrieved directly from the cache and made available on the server, with the language preference stored in a cookie on the frontend and translations passed to HTML via (server.py) render_template.

Comment on lines +6 to +9
<p>
<aside class="aside-note">
<mark>TRANSLATION</mark>
<div>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To do; styling similar as entity.html

@@ -3,6 +3,17 @@

<h1>{{ number }} {{ entity}}</h1>

<p>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To do; styling similar as entity.html

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

Successfully merging this pull request may close these issues.

1 participant