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

build: create a script to detect and fix symlinks based on po files #598

Open
alexgarel opened this issue Jul 12, 2024 · 0 comments
Open
Labels

Comments

@alexgarel
Copy link
Member

We have links that are translated, like "footer_who_we_are_link".

When they are translated, we should check that we have a corresponding symlink <msgstr>.html --> <msgid>.html (eg wer-wir-sind.html --> who-we-are.html) in the corresponding language folder.

The script may live in openfoodfacts-server repository, using the openfoodfacts-web link in the docker container.

It may log bad links and create missing one.
It may also warn if they are concurrent, old links pointing to same file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To Discuss & Validate
Development

No branches or pull requests

2 participants