You are here

public static function i18n_Strings_Test::stringCreateAll in Internationalization 6

Create strings for all languages

1 call to i18n_Strings_Test::stringCreateAll()
i18n_Strings_Test::testStringsAPI in tests/i18n_strings.test
Test base i18nstrings API

File

tests/i18n_strings.test, line 61

Class

i18n_Strings_Test

Code

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