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 (i18n) #19

Open
rodriguez-loic opened this issue Jun 13, 2016 · 3 comments
Open

Internationalization (i18n) #19

rodriguez-loic opened this issue Jun 13, 2016 · 3 comments
Milestone

Comments

@rodriguez-loic
Copy link

Hello,

Is anything planed for internationalization?
Could be great to create different page depending on the user lang.
Same for errors pages.

@BafS
Copy link
Collaborator

BafS commented Jun 13, 2016

Hi,
Yes it's definitely planned, not sure if it will be in the 0.7 or 0.8. I need to think a bit more about how we can structure that, if you have some idea, do not hesitate !

@rodriguez-loic
Copy link
Author

Hi,

Well, I used to do it with some SQL table. I didn't look all your CMS source yet, so I'm not sure what I'm suggesting is the better idea but the first think I thought it's a simple templated folder name in data/pages (such as: data/pages/$en/page_name, $en-uk, $fr, $fr-en, etc... without .md file) which provide in the administration a folder for each languages with a default home page.
Creating a page in one of this folder (from the administration), should automatically duplicate it in other languages.

Also, a piece of code redirecting the user to wwww.my-website.tld/en/, wwww.my-website.tld/en-uk/ automatically (with a simple IP check) could be great. Or the possibility to select a default language directly from the administration.

Just some idea like that. As I said, I didn't really look the code yet and it's probably not the more optimized solution.

@BafS
Copy link
Collaborator

BafS commented Jun 13, 2016

Thank for this idea, I will think about it and see what I can do :)
I'll keep you in touch

@BafS BafS added this to the v0.8.0 milestone Jun 20, 2016
@BafS BafS modified the milestones: v1.0.0, v0.8.0 Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants