Skip to content

Commit 262ebf0

Browse files
authored
Merge pull request #264 from akeneo/fix-get-a-locale
Fix 'Get a locale' example to use a real locale code
2 parents 22b2355 + 97220a5 commit 262ebf0

File tree

1 file changed

+4
-4
lines changed
  • content/php-client/resources/target-market-settings

1 file changed

+4
-4
lines changed

content/php-client/resources/target-market-settings/locales.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Locale
22

3-
#### Get a locale
3+
#### Get a locale
44

55
```php
66
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -12,12 +12,12 @@ $client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')
1212
* 'enable' => true,
1313
* ]
1414
*/
15-
$locale = $client->getLocaleApi()->get('ecommerce');
15+
$locale = $client->getLocaleApi()->get('en_US');
1616
```
1717

18-
#### Get a list of locales
18+
#### Get a list of locales
1919

20-
There are two ways of getting locales.
20+
There are two ways of getting locales.
2121

2222
**By getting pages**
2323

0 commit comments

Comments
 (0)