After doing some testing I found the solution for this one. Posting here for future reference:
The culturecodes used in the tutorial has changed (probably with umbraco 4) Where it used to be "en" for english, you now have to use "en-GB" for English - United Kingdom and so on. "no" is now "nb-NO" for Norwegian (Bokmål) - Norway. Full list can be found here.
The error wasn't in the xslt posted above, but in the xslt extension. It checks if the language length is 2, so the updated code should say:
if (language.Length != 5) language = "nb-NO"; // hardcoded default language. Reimplement as desired.
You also have to change the doc-type properties accordingly: "basicHeader_en" is now "basicHeader_en-GB"
Great such things as the wayback machine exists when the core team of some open source project seems to speculate in hiding away documentation until one pays for a subscription.
Documentation on multilanguage sites missing
Hello.
I am building multilanguage site with Umbraco right now and cant seem to find documentation for 1-1 multilanguage sites which used to be accessable via this link: http://umbraco.org/documentation/books/multilingual-11-sites/summary-of-the-multilingual-11-site-system
Is there any other place where I can find it?
There is literally no other info on this subject anywhere, all posts I managed to find refer to that one link i posted above.
Thank you for help!
Just in case anyone else will be searching, i found this manual at the web archieve
http://web.archive.org/web/20080731093400/umbraco.org/documentation/books/multilingual-11-sites/summary-of-the-multilingual-11-site-system
Thanks for pointing me to that. I successfully did some tests using this guide some months ago, but never got around to testing the dictionary bit.
Doing it now i get a System.NullReferenceException when trying to save the xslt.
its the
that is giving me problems, but I cant seem to figure it out. Did you get this part working on your site?
After doing some testing I found the solution for this one. Posting here for future reference:
The culturecodes used in the tutorial has changed (probably with umbraco 4) Where it used to be "en" for english, you now have to use "en-GB" for English - United Kingdom and so on. "no" is now "nb-NO" for Norwegian (Bokmål) - Norway. Full list can be found here.
The error wasn't in the xslt posted above, but in the xslt extension. It checks if the language length is 2, so the updated code should say:
You also have to change the doc-type properties accordingly: "basicHeader_en" is now "basicHeader_en-GB"
I was looking for that documentation too.
Great such things as the wayback machine exists when the core team of some open source project seems to speculate in hiding away documentation until one pays for a subscription.
.
is working on a reply...