Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Activate the wordpress localisation ? #23

Open
jeau opened this issue Mar 6, 2016 · 5 comments
Open

Activate the wordpress localisation ? #23

jeau opened this issue Mar 6, 2016 · 5 comments

Comments

@jeau
Copy link

jeau commented Mar 6, 2016

Hi

Why not activate the location of wordpress ?
I can not use Sandstorm as long as users can not use wordpress in their language.

another question ?
Why do not use the official repo which seem's up to date
https://github.com/WordPress/WordPress

Thierry

@dwrensha
Copy link
Owner

dwrensha commented Mar 7, 2016

As I understand it, support for non-English languages in WordPress works a lot like plugins and themes do. To support French, for example, you need to add a bunch of files like fr_FR.mo and fr_FR.po to the wordpress/wp-content/languages directory. Unfortunately, unlike with themes and plugins, WordPress does not seem to provide an easy way to upload the language files through a web interface; you seem to need direct access to the filesystem. The good news is that these files should fit in quite nicely with the app add-on feature that we've talked about implementing for Sandstorm eventually. However, it's unclear when we'll get around to implementing that feature.

If you need support for other languages in the short term, maybe we should choose a set of commonly-needed languages and bundle them with our main Sandstorm app, so that everyone can use them. If we go this route, which languages do you think would be most important?

Why do not use the official repo which seem's up to date

To get WordPress to work well with Sandstorm, we need to make some minor modifications. Ideally, these would all fit within a sandstorm.php must-use plugin, but there a few things I haven't yet figured out how to do that way (e.g. the initial installation flow).

@jeau
Copy link
Author

jeau commented Mar 8, 2016

Hi David

Thank you very much for your detailed answer.

For users, I need the French language.
However, I think the most used languages will be needed quickly. Perhaps you can start by Spanish, French, Portuguese, and why not the Chinese and Arabic languages.

thanks in advance
Thierry

@paulproteus
Copy link

@dwrensha my advice is that we bundle the top 10 Internet languages:

http://www.internetworldstats.com/stats7.htm

Specifically:

  • English
  • Chinese (Traditional as well as Simplified)
  • Spanish
  • Arabic
  • Portuguese
  • Japanese
  • Malay
  • Russian
  • French
  • German

I know this might increase the size of the WordPress package, but I think in the increase in utility is substantial. What do you think?

There are a number of different resources on most-popular languages on the web, and different ways of measuring it. The different measurements produce vaguely similar results, and I think we have no thoughtful way to pick one measurement strategy over another, so I propose that you do the above, and if it suits @jeau 's needs, then we try to generalize that across other Sandstorm apps. If users request other languages, we can look into adding it to the list of languages we add as a matter of course.

Let me know what you think.

@dwrensha
Copy link
Owner

Sounds good to me. I think each language file is less than 1MB unpacked, this would not cause a huge amount of bloat. I'll look into this next time I update the WordPress package.

@xet7
Copy link

xet7 commented Mar 8, 2018

This issue was moved to sandstormports/wordpress-sandstorm#17

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants