Phương pháp việt hoá toàn bộ ứng dụng SharePoint 2010


 

Bước 1:

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)

KWizCom Resource Translator Dialog

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)

Installation

  1. Download this Free utility and unzip the file on your PC/Server.
  2. Download the User Guide.
  3. Run the.msi installation file to install the utility.

 

 

Bước 2:

 

Get an account on Windows Azure Marketplace.

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:

  1. 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
  2. Sign up for the Microsoft Translator API using your registered account.
  3. Register your application on Windows Azure Marketplace.
  4. 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.

Step 1. Sign in and Register.

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.

clip_image002

You’ll be taken to the Terms of Use page. Read it carefully, and if you accept it, check the box at the bottom of the screen that says ‘I accept the Terms of Use’, and press the ‘Register’ button.

clip_image003

Once you’ve done this, you’ll be taken back to the main Windows Azure Marketplace webpage.

Step 2. Subscribe to the Microsoft Translator API.

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.

Step 2.1. Find the Microsoft Translator API service in the Windows Azure Marketplace

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.

clip_image004

In the search results, you’ll see the Microsoft Translator API:

clip_image006

Step 2.2. Subscribe to the Translator API service.

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.

clip_image007

Press the ‘Sign Up’ link on your chosen offer and you’ll be taken to a page where you are asked to confirm and agree that you will adhere to the Translator API ‘Offer Terms and Privacy Policy’.

If you agree, check the box and press the Sign Up button.

clip_image008

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.

clip_image010

Step 3. Getting your Developer Credentials

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.

Step 3.1. Registering your application on the Windows Azure Marketplace.

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.

clip_image012

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.

clip_image013

Step 3.2. Getting your Client ID and Client Secret

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:

clip_image014

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.

clip_image016

Getting Started with Microsoft Translator – Part 2: Writing an ASP.NET Application

 

Bước 3:

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

About thangletoan

Hallo Aloha

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 . Bookmark the permalink. Để lại bình luận.

Gửi phản hồi

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập:

WordPress.com Logo

Bạn đang bình luận bằng tài khoản WordPress.com Log Out / Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Log Out / Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Log Out / Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Log Out / Thay đổi )

Connecting to %s

%d bloggers like this: