hyphenation and language setting in concrete 5
Permalink
for automatic hyphenation in a text paragraph i use:
in a wordprocessor or indesign the hyphenation table changes to the desired language setting, because hyphenation in english and italian are different.
when i set the concrete 5 language to italian, i still get hyphenation in english.
how do i get this right, -do i have to set a @hyphenation-resource?
thanks in advance for hints.
.text { ... -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
in a wordprocessor or indesign the hyphenation table changes to the desired language setting, because hyphenation in english and italian are different.
when i set the concrete 5 language to italian, i still get hyphenation in english.
how do i get this right, -do i have to set a @hyphenation-resource?
thanks in advance for hints.
"lang" attr. is set in the header like:
<html lang="<?php echo Localization::activeLanguage() ?>">
italian hyphenation seems to be OK, although i'm not a grammar specialist in italian.
but we have a site with weird hyphenations in german, this is for sure.
that site is localized in german, - would it make a difference to force "lang" to "de" instead of <html lang="<?php echo Localization::activeLanguage() ?>"> ?
saluti da zurigo.
<html lang="<?php echo Localization::activeLanguage() ?>">
italian hyphenation seems to be OK, although i'm not a grammar specialist in italian.
but we have a site with weird hyphenations in german, this is for sure.
that site is localized in german, - would it make a difference to force "lang" to "de" instead of <html lang="<?php echo Localization::activeLanguage() ?>"> ?
saluti da zurigo.
It the site is in German only, hardcoding "de" won't hurt
PS: ciao!