File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -321,16 +321,16 @@ $isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
321321$isoCodes->getCountries()->getByAlpha2('UA')->getLocalName();
322322```
323323
324- Get localized name of country by it's alpha2 code:
324+ Get localized name of country by it's alpha3 code:
325325``` php
326326$isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
327- $isoCodes->getCountries()->getByAlpha2 ('UKR')->getLocalName();
327+ $isoCodes->getCountries()->getByAlpha3 ('UKR')->getLocalName();
328328```
329329
330330Get localized name of country by it's numeric code:
331331``` php
332332$isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
333- $isoCodes->getCountries()->getByAlpha2 ('804')->getLocalName();
333+ $isoCodes->getCountries()->getByNumericCode ('804')->getLocalName();
334334```
335335
336336Get localised list of countries
You can’t perform that action at this time.
0 commit comments