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

Internationalization support #23

Open
rollniak opened this issue Nov 30, 2021 · 6 comments
Open

Internationalization support #23

rollniak opened this issue Nov 30, 2021 · 6 comments

Comments

@rollniak
Copy link

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
Copy link
Owner

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:

  • Copy it
  • Edit the blog_configuration of the copy to suit your need.
  • delete copied entries.
  • create symbolic links from the french blog to the translated blog.
  • When you want to translate an entry replace the symbolic link with a proprer entry file.

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
Copy link
Author

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
Copy link
Owner

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

@DenisSalem
Copy link
Owner

DenisSalem commented Dec 1, 2021

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
Copy link
Author

rollniak commented Dec 1, 2021

OK so,

  • The post should not be in the same main thread but Should be configured as well in the settings.
  • Depending on global settings, the whole blog need to be rebuild only if a new entry is created
  • A issue with a translation Must have a link to the translated one only if a translation exist

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.

  • Depending on the language, A specific RSS for each language should be available.
  • Metadata Should authorise to modify the output file name like this :

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants