Internationalization with AngularJS and ASP.NET

A guide to internationalizing an AngularJS application with an ASP.NET MVC/Web API server back end.
Course info
Rating
(43)
Level
Intermediate
Updated
Dec 11, 2015
Duration
2h 55m
Table of contents
Description
Course info
Rating
(43)
Level
Intermediate
Updated
Dec 11, 2015
Duration
2h 55m
Description

This course explores internationalization issues with implementation of an AngularJS web application that is served by an ASP.NET MVC/Web API infrastructure. Topics include text translation, date and time formatting, numeric formatting, monetary issues, managing units of measure, and other formats such as postal codes and phone numbers. This course will start with an essentially complete application that needs to be internationalized and then walk through the steps needed to completely internationalize it.

About the author
About the author

Mike is a software developer who started his development with Vax and Unix technologies and has progressed through Windows development and into web application development with Microsoft .NET and JavaScript libraries.

Section Introduction Transcripts
Section Introduction Transcripts

Introduction
You've just spent the last few months developing your brand new web application, and you're thinking about deploying. Suddenly you realize that your app would only be usable by those in your own country because your app needs to be internationalized. Hi. I'm Mike Witt with Pluralsight, and this is Internationalization with AngularJS and ASP. NET.

Walk-through the Sample Application
Welcome back to Internationalization with AngularJS and ASP. NET. I'm Mike Witt with Pluralsight, and in this module we're going to walk through the sample application used for the remainder of this course.

Translate Visible Text to the User's Language
Welcome back to Internationalization with AngularJS and ASP. NET. I'm Mike Witt with Pluralsight, and in this module, we're going to take a look at various methods of translating the visible text you see on the screen. First, we're going to talk about the goals of text translation, what needs to be translated, and various ways of doing that. We'll take a look at text translation using ASP. NET MVC. This method of translation will be done on the server side of the application. Next, we're going to look at three different ways of translating text using AngularJS methods. This will include using the angular-translate open source project. One important aspect of translating text and making all the other aspects of internationalization work is the ability to know the user's culture setting. We'll look at how to know this and ways to use this to our advantage. Finally, we'll look at one method of translating the user's data. With these techniques, you will have a variety of tools you can use to provide translated information to your multicultural user base. Let's get started.

Miscellaneous Internationalization Topics
Welcome back to Internationalization with AngularJS and ASP. NET. I'm Mike Witt with Pluralsight, and in this module, we're going to take a look at various miscellaneous topics with internationalization. For example, time zones, how do we handle those with dates and times? Many of us dealt with this for years, so it may not be a mystery to you. Currency conversion. There's a unit that you need to convert from one currency to another. In some cases, you need to convert and other cases you just want to deal with one currency or perhaps you assign different currencies to different things. Units of measure. How do we convert from centimeters to inches or from centimeters to meters? Do we need to convert? So for example, if you have 8. 5 x 11 sheets of paper, you generally wouldn't convert that to centimeters because that's just what it is. Same thing with a one-sheet paper in Europe, you wouldn't convert that to inches. How do we make templates and use those for different layouts? In the introduction, we talked about address templates and how they have different layouts. The German address has a different layout than in the United States. So how can we do that with templates? In general, we need to find an approach on how to deal with these issues. Unlike many things, there isn't one right approach. There are many right approaches and the right approach that you choose depends upon your situation and your needs.