code: static Map<String,String> loadContent( String lang ) {
  
  		Map<String,String> result = new LinkedHashMap<> ();
  		try {
  			InputStream in = TranslationBundle.class.getResourceAsStream( "/" + lang + ".json" );
  			ByteArrayOutputStream os = new ByteArrayOutputStream();
  			Utils.copyStreamSafely( in, os );
  			String content = os.toString( "UTF-8" );
  
  			Matcher m = Pattern.compile( ROW_PATTERN ).matcher( content );
  			while( m.find()) {
  
  				// Get the value
  				String s = m.group( 2 );
  
  				// Replace i18n parameters here (when it makes sense)
  				try {
  					ErrorCode ec = ErrorCode.valueOf( m.group( 1 ));
  					for( int i=0; i<ec.getI18nProperties().length; i++ ) {
  						s = s.replace( "{" + i + "}", ec.getI18nProperties()[ i ]);
  					}
  
  				} catch( IllegalArgumentException e ) {
  					// nothing
  				}
  
  				result.put( m.group( 1 ), s );
  			}
  
  		} catch( Exception e ) {
  			final Logger logger = Logger.getLogger( TranslationBundle.class.getName());
  			Utils.logException( logger, e );
  		}
  
  		return result;
  	}
docs: Loads content from JSon files.
  @param lang the language to use
  @return a non-null map