Skip to content

ICU/genrb Workaround #12

@bggardner

Description

@bggardner

If the ICU genrb command is not installed on your system, you can download and install it using the ICU ReadMe. If you do not wish to install ICU, and do not mind obscure error messages, edit Base/LocaleUtil.php:

public static function getLocalizedMessageFromBundle($bundleName, $key, $locale)
{
  return $key; // Add this line
  /*
    ... rest is ignored ...
  */
}

public static function getLocalizedMessageFromBundleWithArguments($bundleName, $key, $args, $locale)
{
  return $key; // Add this line
  /*
    ... rest is ignored ...
  */
}

You can also parse the language .txt files in Base/ErrorMessages, but since fallbacks are used, this could get complicated. root.txt contains the default en_US locale messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions