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();
321
321
$isoCodes->getCountries()->getByAlpha2('UA')->getLocalName();
322
322
```
323
323
324
- Get localized name of country by it's alpha2 code:
324
+ Get localized name of country by it's alpha3 code:
325
325
``` php
326
326
$isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
327
- $isoCodes->getCountries()->getByAlpha2 ('UKR')->getLocalName();
327
+ $isoCodes->getCountries()->getByAlpha3 ('UKR')->getLocalName();
328
328
```
329
329
330
330
Get localized name of country by it's numeric code:
331
331
``` php
332
332
$isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
333
- $isoCodes->getCountries()->getByAlpha2 ('804')->getLocalName();
333
+ $isoCodes->getCountries()->getByNumericCode ('804')->getLocalName();
334
334
```
335
335
336
336
Get localised list of countries
You can’t perform that action at this time.
0 commit comments