From 47112d2edcc4183fef3751d580ef3b2592414846 Mon Sep 17 00:00:00 2001 From: Francois Zaninotto Date: Mon, 17 Oct 2011 14:47:11 +0200 Subject: [PATCH] we need help for localization --- readme.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index bd200b17..010b763a 100644 --- a/readme.md +++ b/readme.md @@ -148,9 +148,23 @@ Each of the generator properties (like `name`, `address`, and `lorem`) are calle ```php name; // 'Jean Dupont' +for ($i=0; $i < 10; $i++) { + echo $faker->name, "\n"; +} + // Luce du Coulon + // Auguste Dupont + // Roger Le Voisin + // Alexandre Lacroix + // Jacques Humbert-Roy + // Thérèse Guillet-Andre + // Gilles Gros-Bodin + // Amélie Pires + // Marcel Laporte + // Geneviève Marchal ``` +The localization of Faker is an ongoing process, for which we need your help. Don't hesitate to create localized providers to your own locale and submit a PR! + ## Seeding the Generator You may want to get always the same generated data - for instance when using Faker for unit testing purposes. The generator offers a `seed()` method, which seeds the random number generator. Calling the same script twice with the same seed produces the same results.