Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to handle i18n in Go?

Tags:

I searched on web but I didn't find anything related to i18n and Go.

I wish to use Go for develop web sites. What is the best way to handle internationalization?

like image 919
Davide Muzzarelli Avatar asked Sep 28 '11 15:09

Davide Muzzarelli


People also ask

What is I18N localization?

Internationalization (sometimes shortened to "I18N , meaning "I - eighteen letters -N") is the process of planning and implementing products and services so that they can easily be adapted to specific local languages and cultures, a process called localization .

What is the purpose of I18N attribute?

I18N Attribute Collection. This attribute indicates the language of an element's attribute values and text content, and of all elements it contains, unless overridden.

What is an I18N file?

Angular Internationalizationlink Internationalization, sometimes referenced as i18n, is the process of designing and preparing your project for use in different locales around the world. Localization is the process of building versions of your project for different locales.

What is localization in angular?

Localization is the process of building versions of your app for different locales, including extracting text for translation into different languages, and formatting data for particular locales. A locale identifies a region (such as a country) in which people speak a particular language or language variant.


1 Answers

go-i18n has some nice features:

  • Implements CLDR plural rules.
  • Uses text/template for strings with variables.
  • Translation files are simple JSON.
like image 50
Nick Snyder Avatar answered Sep 27 '22 16:09

Nick Snyder