typst / hayagriva

Rusty bibliography management.
Apache License 2.0
314 stars 47 forks source link

[Question] How to translate this? #42

Closed ichxorya closed 10 months ago

ichxorya commented 1 year ago

Title. I don't understand the structure of this project. As the only lang file (?) src/lang/en.rs is available, I can't get much insight from this.

laurmaedje commented 1 year ago

At this point, it probably doesn't make much sense to look into translating Hayagriva. We're investigating how to best integrate CSL etc. and that will probably include a large rework of hayagriva.

ichxorya commented 1 year ago

Thanks, I'm using this for typst citation in a full Vietnamese document. Mixed-in English is unavoidable, so I would love to translate this ASAP!

reknih commented 10 months ago

Hayagriva now uses CSL locales with 0.9.0. The Vietnamese locale is included in the archive.

ichxorya commented 10 months ago

image

As you can see, my full-Vietnamese document has been mixed with "Available at". How could I help to change this?

zepinglee commented 10 months ago

As you can see, my full-Vietnamese document has been mixed with "Available at". How could I help to change this?

#set text(lang: "vi")

ichxorya commented 10 months ago

As you can see, my full-Vietnamese document has been mixed with "Available at". How could I help to change this?

#set text(lang: "vi")

Nothing changed. I have added that in the main document, the tempate, and even the yaml file