Ideal multilingual blog - features/suggesstions
Posted: Fri Mar 31, 2006 2:09 pm
Hi everyone,
I'd like to share my ideas on an ideal multilingual blog - and get your opinion on how good/bad some suggestions are, and how likely some of them are to be implemented in s9y?
Just to give you an example, the blog is running already - http://solaris.reys.net. It's in Russian, utf-8. I also have an English variant of the same blog found here: http://solaris.reys.net/english. All the functionality is based off the not-so-recent version of the multilingual plugin by garvin, with some tweaks. Most of my ideas/wishes are already implemented, but trust me, they're the ugliest hacks imaginable as I don't know all of s9y inner workings and am usually too busy to do things properly
That's why I'm showing what it could be like and asking for your judgement, maybe some developers will find time to make it happen some day.
So, here's the list of features:
1) Default language of the blog is accessible at the main URL of the blog:
http://solaris.reys.net
2) Any secondary languages are accessible through meaningful customizable next level directories in the URL, like:
http://solaris.reys.net/english
http://solaris.reys.net/spanish
This /english or something for each language is the only thing different from the default language links. So, you can take ANY url found on the blog, stick /english at the beginning of the path in it, and it should open you the very same page, only in English language.
THE IDEA is that not only you should be able to select a language from the sidebar plugin (and then it will be stored in your current session variables), but you should be able to give permalinks with /english to someone else, and they will open the English page of the entry automatically.
3) It should be an option of a multilingual (or s9y) configuration to turn the behaviour of translation links when showing blog entries. So, it's a boolean value which means "when showing an entry in a particular language, please show links to all the rest existing translations of the same entry"
4) All the URLs are permalinks. For default language, it's just the permalink, like this:
http://solaris.reys.net/2006/03/new_features_on_my_blog
for other languages, it's with the same next level directory for the language:
http://solaris.reys.net/english/2006/03 ... on_my_blog
the KEY is that any secondary language permalink is EXACTLY the same as the default one, only with some directory name for the language.
Permalinks are used everywhere:
- in RSS
- in "other languages for the entry" links
- in comments/trackbacks
This is a lot of changes to the code, but it's vital to make site competitive enough in search engines optimization
5) Main blog title and subtitle exist in all the languages forms you have present. So, I have title/subtitle in Russian, and the same title/subtitle in English. They're shown accordingly on pages
6) Quick search (livesearch) for multiple languages - I've seen Garvin made it happen just few days ago, I've yet to check it out. But one of the things to be changed is to provide permalinks.
That seems to be it. I'll update this post when I remember more. It may seem to be a lot of work, but trust me it's not. After all, I'm redoing all of my hacks in just few hours every time I'm upgrading my blog. It's just that I can't do it properly and share it with you all, so it has to be some developer who makes these things happen once and forever, properly and most efficiently.
pS: yes, I'm obsessed with permalinks. If it seems like an overkill to some of us, let's make these permalinks more flexible - like, have few boolean flags to control where should permalinks be used - in comments, in feeds, etc. And where they're not used, then we'll see the usual links or archive links.
Thanks for your time and comments!
Nightly
I'd like to share my ideas on an ideal multilingual blog - and get your opinion on how good/bad some suggestions are, and how likely some of them are to be implemented in s9y?
Just to give you an example, the blog is running already - http://solaris.reys.net. It's in Russian, utf-8. I also have an English variant of the same blog found here: http://solaris.reys.net/english. All the functionality is based off the not-so-recent version of the multilingual plugin by garvin, with some tweaks. Most of my ideas/wishes are already implemented, but trust me, they're the ugliest hacks imaginable as I don't know all of s9y inner workings and am usually too busy to do things properly
So, here's the list of features:
1) Default language of the blog is accessible at the main URL of the blog:
http://solaris.reys.net
2) Any secondary languages are accessible through meaningful customizable next level directories in the URL, like:
http://solaris.reys.net/english
http://solaris.reys.net/spanish
This /english or something for each language is the only thing different from the default language links. So, you can take ANY url found on the blog, stick /english at the beginning of the path in it, and it should open you the very same page, only in English language.
THE IDEA is that not only you should be able to select a language from the sidebar plugin (and then it will be stored in your current session variables), but you should be able to give permalinks with /english to someone else, and they will open the English page of the entry automatically.
3) It should be an option of a multilingual (or s9y) configuration to turn the behaviour of translation links when showing blog entries. So, it's a boolean value which means "when showing an entry in a particular language, please show links to all the rest existing translations of the same entry"
4) All the URLs are permalinks. For default language, it's just the permalink, like this:
http://solaris.reys.net/2006/03/new_features_on_my_blog
for other languages, it's with the same next level directory for the language:
http://solaris.reys.net/english/2006/03 ... on_my_blog
the KEY is that any secondary language permalink is EXACTLY the same as the default one, only with some directory name for the language.
Permalinks are used everywhere:
- in RSS
- in "other languages for the entry" links
- in comments/trackbacks
This is a lot of changes to the code, but it's vital to make site competitive enough in search engines optimization
5) Main blog title and subtitle exist in all the languages forms you have present. So, I have title/subtitle in Russian, and the same title/subtitle in English. They're shown accordingly on pages
6) Quick search (livesearch) for multiple languages - I've seen Garvin made it happen just few days ago, I've yet to check it out. But one of the things to be changed is to provide permalinks.
That seems to be it. I'll update this post when I remember more. It may seem to be a lot of work, but trust me it's not. After all, I'm redoing all of my hacks in just few hours every time I'm upgrading my blog. It's just that I can't do it properly and share it with you all, so it has to be some developer who makes these things happen once and forever, properly and most efficiently.
pS: yes, I'm obsessed with permalinks. If it seems like an overkill to some of us, let's make these permalinks more flexible - like, have few boolean flags to control where should permalinks be used - in comments, in feeds, etc. And where they're not used, then we'll see the usual links or archive links.
Thanks for your time and comments!
Nightly