Near bug, but for sure not a... feature ;)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Dear all good day,
Glad to be part of this community with such a nice & strong Open Source Product.

I have a question that may other Greek speaking people faced  when translating their site.
Actually it is not a 100% nopCommerce bug, but I would like to put it in this forum in case that we find a good solution or a work around that can help others too.

Well, this is all about:
LANGUAGES THAT HAVE WORDS WITH ACCENTS (in GR for ex: {ά, ί, έ,...}) MUST NOT USE IN CSS THIS:
text-transform: uppercase;

The above rule is valid in Greek language because the transformation from lower case to upper case is done by retaining the accent, which is wrong and against to the Greek Grammar. For example the word "Μενού" in Greek (which means Menu) will be uppercased as "ΜΕΝΟΎ" which is wrong, and not "MENOY" which is correct!

Some work around on the above problem could be:
1. Go to CSS and comment out any  "text-transform: uppercase;" commands.
2. Create a wrapper UpperCase function that replaces all words with accent to a word w/o accent.

Does any friend here have in mind any work around on this...?

Thanks for you time!
9 years ago
Hi Andrease,

Thanks for info. I presume 95% of all sites over the Internet use "uppercase" and it's pard of most designs. In order to "fix" it simply open \Themes\DefaultClean\Content\styles.css file and remove all "text-transform:uppercase;". Then reset your browser cache (click F5).
9 years ago
Ηι a.m.
Thanks for your answer.
I totally agree with your statement : I presume 95% of all sites over the Internet use "uppercase"...
;-)

In addition I already implement your suggestion (as it is my No [1] suggestion too, on my initial post) and I bypass (but not solve) my problem. I suppose that the real problem is on how the UpperCase function is implemented.

Thanks again!
9 years ago
add this to html tag

<html xml:lang="el" lang="el">
9 years ago
johnp wrote:
add this to html tag

<html xml:lang="el" lang="el">


Thanks John for the tip...
Do you have any idea about which file I have to modify?

Thanks!!!!
9 years ago
modify the file \Views\Shared\LanguageAttributes.cshtml
remove all contents
and add only

xml:lang="el" lang="el"
9 years ago
johnp wrote:
modify the file \Views\Shared\LanguageAttributes.cshtml
remove all contents
and add only

xml:lang="el" lang="el"


A very good point my friend! It partly works!
Thanks a lot!

It works for firefox and chrome.
But Not in IE11 and Safari 5
9 years ago
AndreasVen wrote:
modify the file \Views\Shared\LanguageAttributes.cshtml
remove all contents
and add only
xml:lang="el" lang="el"



A good point my friend! It partly works!
It works for firefox and chrome.
But Not in IE11 and Safari 5


Thanks!!!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.