wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 163 forks source link

WordPress Language Files #81

Closed alexej-d closed 10 years ago

alexej-d commented 10 years ago

Hello, I was wondering if you, by any chance, included some clever way to install WP in an other language. If not, what ist the best way to add a language to the installation? Should I just download the language files manually and put them in the folder content/languages/ ?

wesleytodd commented 10 years ago

There is no way to install that with YeoPress. I would recommend installing them manually. But if you would like this feature, it should be fairly simple to integrate. I would gladly accept a PR for this feature.

alexej-d commented 10 years ago

I would love to do it myself but I have no clue where to start…

ninjasort commented 10 years ago

That sounds like a good idea. You may want to start here: http://codex.wordpress.org/Installing_WordPress_in_Your_Language

alexej-d commented 10 years ago

No, I meant I had no clue where to start with the yeoman generator, manually installing language files is no problem.

ninjasort commented 10 years ago

Yeoman copys from the app/templates. You may want to run through this if you've never built a generator before. http://yeoman.io/generators.html You could probably put the language files in that dir and modify prompts.js to ask what language. Then simply iterate through the language files and choose the right one.

wesleytodd commented 10 years ago

@cameronjroe Thanks for the input, that is exactly where to start. But I looked more into the WordPress resources on this topic, and I do not see a simple/standard way to get the .mo files. I was hoping to see something like a standard list of files, but they are sourced from all different places.. It looks to me like manual installation is the way to go. Closing.