```
✨ feat(i18n): Ajoute la traduction chinoise et Google API
Ajoute la traduction chinoise, intègre l'API Google Marchand et
corrige des problèmes de gestion des paramètres de langue.
```
This commit is contained in:
11
config/packages/google_apiclient.yaml
Normal file
11
config/packages/google_apiclient.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
Google\Client:
|
||||
class: Google\Client
|
||||
calls:
|
||||
# Authentication with "API key"
|
||||
- [setDeveloperKey, ['%env(GOOGLE_API_KEY)%']]
|
||||
# Authentication with "OAuth 2.0" using Client ID & Secret
|
||||
- [setClientId, ['%env(GOOGLE_CLIENT_ID)%']]
|
||||
- [setClientSecret, ['%env(GOOGLE_CLIENT_SECRET)%']]
|
||||
# Authentication with "OAuth 2.0" or "Service account" using JSON
|
||||
- [setAuthConfig, ['%env(resolve:GOOGLE_AUTH_CONFIG)%']]
|
||||
Reference in New Issue
Block a user