• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1439
  • Last Modified:

how to translate the content of a webpart from english to arabic in bilingual site

Hi,

I am using team site template with language setting on sharepoint enterprise edition 2010.

How to translate the content of a webpart of bilingual sharepoint site.

I am created Site in arabic as default site and when i change language to english, webparts are not translating to english.

I  found...  "implement the IWebPartVariationUpdate interface".

Thanks
0
sharepointDepot
Asked:
sharepointDepot
  • 2
1 Solution
 
masterpassCommented:
Well, I think the problem is because you might not have localized the web part. As you know web parts are not automatically localized coz it is using the good old asp.net concepts. Sharepoint on the other hand, without the webparts, cajn easily switch from one language to another. Try localizing your webpart

http://msdn.microsoft.com/en-us/library/gg491702.aspx

Hope this helps!
0
 
sharepointDepotAuthor Commented:
Hi masterpass,
 
Thanks a lot for reply.

but you know i am using visual webparts to do datadisplay.

So can you give any sample for that.

thank you
0
 
masterpassCommented:
visual web parts is just like an asp.net site coz the concept is the same. please refer here and see if it helps

http://www.codeproject.com/Articles/15313/Globalization-and-localization-demystified-in-ASP

I have never done it but I am guessing you should be looking at mapping it to a resource file.

Have a look at the walk through here [plain webpart]

http://geekswithblogs.net/venkatx5/archive/2010/12/14/how-to-create-multilingual-webpart-in-sharepoint-2010.aspx

NB: just try following the walk through with a webpart and see if it works for you!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now