The JsonLocalization plugin provides a number of support classes to help load Json language text files for internationalization (i18n).

The JsonLocalization plugin is a single PCL Assembly and isn’t really a typical plugin - it doesn’t itself register any singletons or services with the MvvmCross IoC container.

For advice on using the JsonLocalization library, see:

  • the Babel sample - https://github.com/MvvmCross/MvvmCross-Samples/tree/master/Babel
  • the N+1 video N=21 which discusses how i18n is built - http://slodge.blogspot.co.uk/2013/05/n21-internationalisation-i18n-n1-days.html


  • the standard JsonLocalization implementation relies on the ResourceLoader and Json plugins for loading Json files from the application package contents.
  • several alternative localization implementations have been suggested including:
    • using Microsoft RESX files works using the ResxLocalization plugin.
    • using EmbeddedResources to store the Json files in the Core PCL assembly (see https://github.com/slodge/MvvmCross/issues/55)
    • using a single JSON file or a single CSV (Comma Separated Variables) file to store all languages in one single file (again see https://github.com/slodge/MvvmCross/issues/55)

    we hope that some of these alternatives will become open source realities in the future