FakeD [2,3] is a fake data generator with support for
localisation.
It is based on faker.js [1].
See [4] for a list of available methods.
void main() {
import std.stdio;
import faked;
auto f = new Faker(/*random seed */ 1337);
writeln(f.loremText());
writeln(f.addressCity());
writeln(f.nameName());
// localized to german
f = new Faker_de(/*random seed */ 1338);
writeln(f.loremText());
writeln(f.addressCity());
writeln(f.nameName());
}
[1] https://github.com/marak/Faker.js/
[2] https://code.dlang.org/packages/faked
[3] https://github.com/kaleidicassociates/faked
[4] https://kaleidicassociates.github.io/faked/