DenisSalem / VenC

A static blog generator
GNU General Public License v3.0
13 stars 4 forks source link

Internationalization support #23

Open rollniak opened 2 years ago

rollniak commented 2 years ago

Hello,

Does VenC support multi language blog post ? If i want to publish on the same blog in tow or more languages ? Like having a blog with English post separated from the French one but still managed without needing two different VenC instance ?

Have a nice day, Rollniak

DenisSalem commented 2 years ago

For now it doesn't support officialy multi-language bloging because it's not a trivial feature and it need to be discussed to be implemented in such way that it will be evolutive, modulable, efficient and user-friendly.

You don't have such thing as "VenC instance" Instead you have single blog project.

Work around

Yet, one thing you can do is to manage one blog, let say in french:

You have to edit your template so you can switch the way you want to from one blog to another.

About the upcoming feature

Could you provide example of blog that support multi langage ? What could be the specification and details you expect for such feature ?

rollniak commented 2 years ago

By "Instance" I tryed to say multipe VenC website. Here a list of SSG who support multi language :

I mean a want to avoid the work around at all cost to be honest. ^^"

DenisSalem commented 2 years ago

Thank you. Also could you provide example of actual blog using multi language ?

DenisSalem commented 2 years ago

Or tell me how it should look in a blog ?

Are multiple language are available in the main thread, on the same page ?

Does multiple language build single entries only while thread use a default language ?

Does the whole blog need to be rebuild for every available language ?

rollniak commented 2 years ago

OK so,

We assume the default language of blogi18n is set with English as default language and the French is the other one. If an issue01.rst and issue01.fr.rst exist, then a link to the issue01 translated in French Must be present on the one with the default language. If an issue02.rst exit and if does not have any translation, the issues Must not have a link to a issues who doesn't exist. If an issue03.fr.rst exist, it must behave like issue02.rst.

In issue01.rst, the default language is english, and is issue01.fr.rst i obviously french. The output of for url of issue01.rst should be something close to https://localhost/issue01/. The output of for url of issue01.fr.rst should be something close to https://localhost/fr/publication01/.

I'm not sure to understand your third question. I can add other things later.

DenisSalem commented 3 months ago

While it's not perfect VenC 3.2 now allow multi language blog thanks to advanced taxonomy features.