Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 12, 2012 08:31 PM by Shankar_ss
Participant
1270 Points
279 Posts
Apr 02, 2012 11:31 AM|LINK
I am using Masterpage & my site is primarily in German. I have included globalisation in web.config & also in master page meta:
<meta http-equiv="content-language" content="en, de" />
But, my subpages are not displaying German language.
Where am I going wrong. Please help.
Regards,
Shankar
Contributor
2228 Points
424 Posts
Apr 05, 2012 06:07 AM|LINK
Hi, hope this helps:
http://msdn.microsoft.com/en-us/library/bz9tc508.aspx
Apr 05, 2012 06:34 AM|LINK
No, I have tried using all these. It is not helping.
In my master page, the language is German but subpages inheriting masterpage show some odd characters and not german.
Any other suggestions please.
Apr 05, 2012 08:22 AM|LINK
Hi, please create a standalone web page without master page to test, and set the culture and UI culture for this page.
Apr 05, 2012 08:24 AM|LINK
Thanks for your reply.
It works in standalone page. My default.aspx page is not in masterpage & here the language works fine. In masterpage content, it works. But in subpage content it is not working.
Apr 05, 2012 08:34 AM|LINK
Hi, please add
<meta http-equiv="content-language" content="en, de" /> to your first Content in content page which ContentPlaceHolderID="head" and check.
Apr 05, 2012 12:22 PM|LINK
Thanks again. I have included
in the master page. But as per your suggestion I added a ContentPlaceHolder in master page & included
<asp:Content ID="contenthead" ContentPlaceHolderID="head" runat="Server"> <meta http-equiv="content-language" content="en, de" /> </asp:Content>
in content page. No luck.
Apr 06, 2012 06:46 AM|LINK
Hi, rather than adding a ContentPlaceHolder in master page, I means to add
to your content page, like this:
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
Apr 06, 2012 07:01 AM|LINK
Thanks for the reply. That is what I did. But still not working.
Any other suggestions....
Apr 06, 2012 08:18 AM|LINK
Hi, please paste your mater page, content page and one standalone page markup here.
Shankar_ss
Participant
1270 Points
279 Posts
Master page and sub page - localization issue
Apr 02, 2012 11:31 AM|LINK
I am using Masterpage & my site is primarily in German. I have included globalisation in web.config & also in master page meta:
<meta http-equiv="content-language" content="en, de" />
But, my subpages are not displaying German language.
Where am I going wrong. Please help.
Regards,
Shankar
Shankar
FightAsABull
Contributor
2228 Points
424 Posts
Re: Master page and sub page - localization issue
Apr 05, 2012 06:07 AM|LINK
Hi, hope this helps:
http://msdn.microsoft.com/en-us/library/bz9tc508.aspx
Shankar_ss
Participant
1270 Points
279 Posts
Re: Master page and sub page - localization issue
Apr 05, 2012 06:34 AM|LINK
No, I have tried using all these. It is not helping.
In my master page, the language is German but subpages inheriting masterpage show some odd characters and not german.
Any other suggestions please.
Shankar
FightAsABull
Contributor
2228 Points
424 Posts
Re: Master page and sub page - localization issue
Apr 05, 2012 08:22 AM|LINK
Hi, please create a standalone web page without master page to test, and set the culture and UI culture for this page.
Shankar_ss
Participant
1270 Points
279 Posts
Re: Master page and sub page - localization issue
Apr 05, 2012 08:24 AM|LINK
Thanks for your reply.
It works in standalone page. My default.aspx page is not in masterpage & here the language works fine. In masterpage content, it works. But in subpage content it is not working.
Shankar
FightAsABull
Contributor
2228 Points
424 Posts
Re: Master page and sub page - localization issue
Apr 05, 2012 08:34 AM|LINK
Hi, please add
Shankar_ss
Participant
1270 Points
279 Posts
Re: Master page and sub page - localization issue
Apr 05, 2012 12:22 PM|LINK
Thanks again. I have included
in the master page. But as per your suggestion I added a ContentPlaceHolder in master page & included<asp:Content ID="contenthead" ContentPlaceHolderID="head" runat="Server">
<meta http-equiv="content-language" content="en, de" />
</asp:Content>
in content page. No luck.
Any other suggestions please.
Shankar
FightAsABull
Contributor
2228 Points
424 Posts
Re: Master page and sub page - localization issue
Apr 06, 2012 06:46 AM|LINK
Hi, rather than adding a ContentPlaceHolder in master page, I means to add
to your content page, like this:<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
Shankar_ss
Participant
1270 Points
279 Posts
Re: Master page and sub page - localization issue
Apr 06, 2012 07:01 AM|LINK
Thanks for the reply. That is what I did. But still not working.
Any other suggestions....
Shankar
FightAsABull
Contributor
2228 Points
424 Posts
Re: Master page and sub page - localization issue
Apr 06, 2012 08:18 AM|LINK
Hi, please paste your mater page, content page and one standalone page markup here.