php-i18n icon indicating copy to clipboard operation
php-i18n copied to clipboard

Put some examples more

Open shawe opened this issue 7 years ago • 3 comments

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):

shawe avatar Mar 22 '17 20:03 shawe

Pull requests are welcome.

Philipp15b avatar Mar 21 '18 16:03 Philipp15b

Hey @Philipp15b can I some suggestions about how to approach this issue?

LS05 avatar Jun 11 '19 20:06 LS05

@shawe can you send a PR?

ppazos avatar Dec 27 '19 15:12 ppazos