Click here to Skip to main content
15,891,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have learned how to apply globalisation cooncept on web control in asp.net.

is there is possible to apply the globalisation concept on css or div tag of html
if yes then provide me some example how to achieve this
Posted
Comments
Sergey Alexandrovich Kryukov 30-Aug-14 0:34am    
Examples of what? what do you think it should do? :-)
—SA
Member 10891595 30-Aug-14 0:43am    
<form id="form1" runat="server">
<header id="header">

CAF-T Home


<div class="HeaderRight">
<div class="Float">
<img src="images/user.png" alt="" />
</div>
<div class="Divi">
</div>
<div class="name">
<asp:Literal ID="litUser" runat="server">
</div>
<div class="Divi">
</div>
<div class="right_icon">
<img src="images/details.png" alt="" />
</div>
</div>
</header>



i have above code in which i have id header "CAF-T" i want to change this
Sergey Alexandrovich Kryukov 31-Aug-14 1:25am    
How is that related to CSS and how is that related to globalization?
—SA

1 solution

Do you mean that the background image of some site should change depending on culture, so it would take the pattern of national flag? Not a very good idea: the ultimate goal of globalization is easy localization of some content, which would make it readable by readers of different culture, but text on the background of a flag would make it poorly readable. :-)

This is not quite a joke: it's hard to see a lot more to globalization in CSS than a flag. Or national ornament.

Let's try to apply some logic. Some content could be considered "globalized" if it can be relatively easily localized to some culture. What aspect of some content does it mean? First of all, the language, as well as some minor details, such as currency or formats of numbers and date/time, which is, essentially, also can be a part of language.

What the CSS has to do with language? Almost nothing. Well, maybe just left-to-right and right-to-left properties. Even fonts are not so important, because the fonts used on the Web cover most of the languages, so switching from one culture to another would keep the same fonts in most cases. So, likewise, globalization and localization have nothing to do with CSS, almost. CSS is mostly responsible to styles (middle 'S' means "Style" :-)): colors, fonts, alignment, spacing, textures, borders, all the design stuff, which purely correlates with cultures. Even if some ethnic styles are applicable, they would have little to do with globalization and localization. For example, the site dedicated to Germany may use some graphical styles characteristic to Germany. But the same styles should be kept when the culture is switched to English or Russian. This switch would merely allow English- or Russian-speaking readers to read the content. Isn't that logical?

Please see:
http://msdn.microsoft.com/en-us/library/vstudio/c6zyy3s9%28v=vs.100%29.aspx[^],
http://msdn.microsoft.com/en-us/library/vstudio/c6zyy3s9%28v=vs.100%29.aspx[^],
Using Globalization and Localization in ASP.NET[^].

Conclusions? Well, it's not that the we can "apply globalization concept to CSS" or we cannot. It's just the whole question make no sense.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900