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

Howto for multilanguage sites? #30

Open
7iomka opened this issue Jul 15, 2021 · 0 comments
Open

Howto for multilanguage sites? #30

7iomka opened this issue Jul 15, 2021 · 0 comments

Comments

@7iomka
Copy link

7iomka commented Jul 15, 2021

Hi, thanks for awesome workflow example!
Buy I have one big problem.
My site is multilanguage.
In django templates I use {% trans 'some text' %} or {% blocktrans %}some text{% endblocktrans %}
This strings is collected somehow with django (I don't know how, because I only newbie at this project and I only frontender)
So, need to allow django to search through all vue files.
But my knowledge in Django is not enough.
What I was looking for and what might be useful:
Point:
https://stackoverflow.com/a/56843493
Examples:
https://tuleap.net/plugins/git/tuleap/tuleap/stable?a=commit&h=7cd307f038fdf1439418aa61793850e3655939c5
https://tuleap.net/plugins/git/tuleap/tuleap/stable?a=tree&hb=d9ec3ef12707285072386a68789069ed48a0e845&f=tools%2Futils%2Fscripts

https://tuleap.net/plugins/git/tuleap/tuleap/stable?a=blob&hb=d9ec3ef12707285072386a68789069ed48a0e845&h=12000a5f33fec8ff29944eb665e357d2c281f627&f=tools%2Futils%2Fgenerate-po.php

I would appreciate your help.
Thanks.

@7iomka 7iomka changed the title How to for multilanguage sites? Howto for multilanguage sites? Jul 15, 2021
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