Skip to content

Howto for multilanguage sites? #30

@7iomka

Description

@7iomka

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions