php-i18n
php-i18n copied to clipboard
Put some examples more
For example like this:
1- Add to lang_en.ini stringswithvar = "Test1: %1$s" stringswithvars = "Test_number: %1$s Test_string: %2$s" 2.- Add to lang_en.json "stringswithvar": "Test1: %1$s" "stringswithvars": "Test_number: %1$s Test_string:%2$s" 3.- Add to lang_en.yml stringswithvar: 'Test1: %1$s' stringswithvars: 'Test_number: %1$s Test_string:%2$s' 4. And add to example.php
String with var(string):
String with var(integer):
String with vars(string):
String with vars(integer):
String with vars(combined):
Pull requests are welcome.
Hey @Philipp15b can I some suggestions about how to approach this issue?
@shawe can you send a PR?