Multilanguage support
-
November 4, 2020 at 1:13 pm #4379[anonymous]
Are you planning to add Multilanguage support this year or next? Thanks
November 5, 2020 at 9:37 am #4384BobHi,
It definitely will not be this year, and I think the end of the next. We have a lot of other work and unfortunately, we are not financially able to afford a very fast development of many features at once.
November 5, 2020 at 1:46 pm #4388[anonymous]First of all, thank you Bob and rest of the crew for Publii! So happy not having to fiddle around with WordPress anymore and other substitutes.
If it’s of any help, i’m willing to translate it to Swedish. I’ve translated various projects before like Avast Antivirus, Miui (Android ROM), Deepin OS and some smaller projects and would love to have this translated in my native language. Also want to make a kind of review/guide article about Publii on my site since I absolutely love the way it’s built and works and having it translated in Swedish would be the “icing on the cake”.
November 6, 2020 at 5:39 pm #4462[anonymous]Hi @deebs,
Thank you for your help offer. At this moment we have no plans to implement multilanguage UI as it would lead to many issues and will make Publii development much harder and time-consuming. We have only far plans to implement multilanguage websites generation in Publii, but as Bob wrote – it is a topic for the next year.
November 7, 2020 at 4:43 pm #4470[anonymous]Thank you Tomasz
I understand. I’ll be ready when you are π
May 31, 2021 at 11:23 pm #5904[anonymous]Any light pointing in that direction ? I means, it is probably still in the todo list but when we could expect that feature π
Also if any of you could share me on a way to prepare myself, for now thinking of launching a bilingual website and here is my approach:
- domain.tld as a landing page
- en.domain.tld for english
- fr.domain.tld for french
I would prefer to have domain.tld/en and domain.tld/fr but it don’t seams being possible with Publii.
September 6, 2022 at 10:39 am #8259[anonymous]Hello,
I see that multilanguage support is planned as the next point in the roadmap.
Are we talking here about the support of the interface in several languages? Or the possibility of creating sites in several languages?
Are we talking about creating multilingual sites with several domains?
FR.domain.com
EN.domain.comor this:
domain.com/fr
domain.com/enI am very interested in the possibility of making multilingual sites by living in a country with 4 national languages…
thank you in advance
September 6, 2022 at 12:38 pm #8266[anonymous]Hey Andy: Support for the interface in several languages is already here. So, I would assume it’s for having a website in multiple languages.
September 6, 2022 at 5:41 pm #8293[anonymous]Yes, I imagine but as the point has been there for a long time, you never know π
September 7, 2022 at 8:37 am #8297[anonymous]It is possible to implement more than one language, but you have to inject all the posts manually into the input.
You must take into account that if you make a multilanguage site you need an optimised sitemap with support for the link alternate. In my case I use the standard “0.9 http://www.w3.org/1999/xhtml”. You must also modify the head of each post adding the alternate link of its clone in the other language. This would be the minimum and indispensable to avoid that google detects duplicates and we have indexing problems.
I do not recommend creating subdomain, it is not optimal for seo, you must redirect all traffic to a single domain.
Create a folder in input/root-files/ with the name of the language you want (for example /FR) and there you should inject the posts that you have to translate by hand with a text editor.My last project, which is still unfinished but may be helpful, is in English and Spanish:
January 6, 2023 at 12:45 pm #9073[anonymous]Can you explain a bit more? I am fascinated by your project https://www.gfrprebartechnology.com and trying to implement something similar on my own.
I know how to implement the hreflang tags thanks to this post: https://forum.getpublii.com/topic/solved-hreflang-mulitlingual-support-how-to-decode-html-from-custom-field/
However, the root-files procedure you explained escapes me.
From what I understand, I have to create a copy of each post inside the root-files folder? But how? If you could explain in detail… And also, what about the home page, the index file?
A more in-depth tutorial would really really be good to understand. Thanks so much in advance!
January 13, 2024 at 4:35 pm #11550[anonymous][anonymous] wrote:Hi,
It definitely will not be this year, and I think the end of the next. We have a lot of other work and unfortunately, we are not financially able to afford a very fast development of many features at once.
Hello Bob!
Would it be in the roadmap this year ?Β π
Thanks in advance π
January 13, 2024 at 5:47 pm #11556BobYes, I think so. We have a solution for this, implemented, e.g., on our home page. It will be released as a plugin if everything goes according to plan. When, I don’t know exactly.
January 13, 2024 at 5:57 pm #11558[anonymous][anonymous] wrote:Yes, I think so. We have a solution for this, implemented, e.g., on our home page. It will be released as a plugin if everything goes according to plan. When, I donβt know exactly.
Nice to hear, and looking forward to this big step!
I didn’t know that the front page was made with Publii… Ever thought about releasing the Publii theme in the marketplace? π π
January 13, 2024 at 7:02 pm #11560[anonymous]π± great news ! Can’t wait π₯Ή
Oh yes, I hadn’t seen that the Publii page was now translated.
Hope to see that soon π€©
January 15, 2024 at 7:12 am #11562[anonymous]To @Bob and @Tomasz ;
maybe my idea is hover simplified and cannot work for the multilanguage but what if it was possible to change the language at the tags level
for an example a project (website) have english as default language and than when french or français is choosed as a tag then
<html lang=”en”> become <html lang=”fr”> and all the snippets and rest.
What do you think ?