Phương pháp việt hoá toàn bộ ứng dụng SharePoint 2010
Resource Translation Utility
The Resource Translation Utility enables you to quickly translate any KWizCom add-on for SharePoint 2010/2013 to any required language, by using the Microsoft Translation Services.
(Actually, this utility translates Any .NET resource file)
To start using this utility, you need to:
1. Run it on a machine that has internet access.
2. Get an account on Windows Azure Marketplace (so you’ll be able to use the Microsoft Translation Services)
- Download this Free utility and unzip the file on your PC/Server.
- Download the User Guide.
- Run the.msi installation file to install the utility.
The Microsoft Translator API is accessible through Microsoft Windows Azure Marketplace. You can see it here: https://datamarket.azure.com/.
To begin developing using the Microsoft Translator API, you need to do the following:
- Register for an account on Windows Azure Marketplace.
- If you already have an account, you can use it, but it’s recommended that you follow through these steps to ensure that you configure the service correctly
- Sign up for the Microsoft Translator API using your registered account.
- Register your application on Windows Azure Marketplace.
- Get the Client ID and Client Secret for your registered application.
The following instructions will show you how to do this. When you’ve completed them, you’ll be ready to start coding.
Sign-in to Windows Azure Marketplace. If this is your first time, you’ll likely see this registration page.
Fill out your details, and press the ‘Continue’ button.
Once you’ve done this, you’ll be taken back to the main Windows Azure Marketplace webpage.
In this section you’ll subscribe to the Microsoft Translator API in the Windows Azure Marketplace. There are a number of service options you can choose, and in this walkthrough you’ll see how to use the free one.
If you’ve completed the Windows Azure Marketplace registration (Step 1), then visit https://datamarket.azure.com/ to see the main Marketplace home page. At the top of the screen, you’ll see a ‘Search’ box.
Type ‘translator’ into this box and press enter, or click the button on the right that is shaped like a magnifying glass.
In the search results, you’ll see the Microsoft Translator API:
Click on ’Microsoft Translator’ and you’ll be taken to the Microsoft Translator API Offer page on Windows Azure Marketplace.
(Note: For a short cut, you can also go directly to the screen by visiting this URL: https://datamarket.azure.com/dataset/bing/microsofttranslator)
On the right hand side of the screen, you’ll see a number of different monthly volume offers. Choose the one that meets your monthly volume usage needs. For this guide, you’ll use the free 2 million characters per month subscription offer, which you can find at the bottom of the list.
If you agree, check the box and press the Sign Up button.
You’ll then be taken to the page confirming that you’ve successfully subscribed to the service and the volume goes into effect at that time. In the next step, you’ll get your developer credentials from Windows Azure Marketplace, and you’ll use these when building your apps.
This step assumes that you have:
· Completed Steps 1 and 2
· You have registered for a Windows Azure Marketplace account
· You have used your Marketplace account to subscribe to the Microsoft Translator API service.
Sign in to https://datamarket.azure.com/, and you’ll see the familiar welcome page.
At the bottom of the page, you’ll see a number of links, organized into columns.
One of these reads ‘Develop’, and under it you’ll see a link that says ‘Register your Application’.
Select this and you’ll be taken to the screen that allows you register your application.
You use this to get the Client ID and Client Secret values that your application will need to authenticate your service when you build your application.
· Fill out the Client ID, and Name fields.
· The Client Secret field is already completed for you. Do not change it.
· Fill out the ‘Redirect URI’ field with any valid URL that uses https, for example https://microsoft.com. This field is not used by the Microsoft Translator API.
· You can also leave the ‘Enable subdomain access’ checkbox unchecked, as Translator doesn’t use it.
Remember and note the Client ID and Client Secret fields. You will need these when you write your app.
Here’s an example:
If, in the future you want to create new apps, you can go straight to this screen: https://datamarket.azure.com/developer/applications/register
To see a list of the apps you have on Marketplace, and see their Client ID and Client Secret visit: https://datamarket.azure.com/developer/applications and press the ‘Edit’ link to see the details for your app.
Next, you’ll be taken to a page containing the list of your applications. (Note: For future reference, here’s a shortcut: https://datamarket.azure.com/developer/applications)
You should see your application at the bottom of this screen, like this. If you want to change the Client ID, you can do so from the ’Edit’ link, or you can register new applications with the Register button.
Creating an ASP.NET Web Application
If you don’t have Visual Studio, you can use the free Visual Web Developer Express from Microsoft to create ASP.NET pages. It can be downloaded from here: http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-web-developer-express
The first step is to create a new Project, and in the project types dialog box, select ASP.NET Web Application and call it FirstTranslator. Make sure that you selected ‘.NET Framework 4’ as the version of .NET you are using.
Tham khảo link sau để sử dụng: http://blogs.msdn.com/b/translation/p/gettingstarted2.aspx
Posted on 24/06/2013, in ASP.Net, Công nghệ và Giáo dục, Chuyển tiếng Việt cho SharePoint, Full text scroll for Search and Read, Localization, Microsoft, Microsoft SharePoint, Việt hoá and tagged Microsoft. Bookmark the permalink. Để lại bình luận.