-
Notifications
You must be signed in to change notification settings - Fork 5
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
translation in another language possible? #12
Comments
I actually already implemented nginx language detection for another static site on the same server:
The above will use the browsers accept language header and fall back to "en" if no language matches the languages in the map (in the above example only "de" is supported). The index page would exist in a version per language, here index.en.html and index.de.html. What I don't know is how to configure pelican to generate separate navigation trees, one per language. A naive approuch would be to have two projects to generate all the languages and ensure each uses a different file ending. Both would then be deployed into the same location. What worries me a bit more then the technical aspects is that this means that we would need to maintain these translations. Currently I handle the update of the homepage based on the current README whenever a new version is released. With a french translation, would we then leave that home page on the old version until a translation exists, wait with the release until all content was translated or deliver en-content after the release until a updated translation exists? Probably also depends on how extensive the changes are... |
ok, I've not seen *.de pages.
I don't know pelican I imagine that a translation is a small benefit for the audience and a first look, for french users.
yes, it's important. I would have imagined:
As you like, before you must determine if a translation is useful for your web site |
what do you think, if I translate at least credits.md, home.md, creenshots.md (the presentation) in french?
but I don't know if it's easy to switch language at server level.
The text was updated successfully, but these errors were encountered: