studiometa / create-wordpress-project

A generator to kickstart your WordPress project in a few seconds! ⚡
MIT License
6 stars 3 forks source link

Download translation with Composer #1

Closed titouanmathis closed 3 years ago

titouanmathis commented 5 years ago

We should download FR translations via Composer in order to have a translated dashboard.

We can use one of this package:

A more thorough search/benchmark could be made to find the best solution!

perruche commented 4 years ago

I have tested wp-translation-downloader with great success. Did not test the other one as it was working cleanly

ptt-homme commented 4 years ago

I will have a look to the other one, but the solution seems legit! ;-)

notjb commented 3 years ago

How about using wp cli instead ? 👀 https://developer.wordpress.org/cli/commands/language/

This could be added to the readme.md file right after the step "Install WordPress with WPCLI" :

**Optional**
# Install a core language pack.
`./vendor/bin/wp language core install fr_FR`
`./vendor/bin/wp language core activate fr_FR`
notjb commented 3 years ago

closed by #56