The i18n application demonstrates the various internationalization features of Revel:

  • Retrieving the current locale from a controller and template.
  • Resolving messages using the current locale from a controller and template.
  • Message file features such as referencing and message arguments.
Note: at the time of writing this sample application only demonstrates the messages feature.

Contents

i18n/
	app/		# Controllers & views
	conf/		# Configuration file(s)
	messages/
		sample.en 	# English language sample messages
		sample2.en 	# English language sample messages #2
	public/
	tests/