You are here

public static function i18nStringTestCase::stringCreateAll in Internationalization 7

Create strings for all languages

File

i18n_string/i18n_string.test, line 183
Test case for multilingual string

Class

i18nStringTestCase
Class for testing i18n_string and modules using these features

Code

public static function stringCreateAll($number = 10, $length = 100) {
  foreach (language_list() as $lang => $language) {
    $strings[$lang] = self::stringCreateArray($number, $length);
  }
  return $strings;
}