Comments (14)
From @dwrensha on March 7, 2016 18:42
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).
from wordpress-sandstorm.
From @jeau on March 8, 2016 16:33
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
from wordpress-sandstorm.
From @paulproteus on August 30, 2016 16:43
@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.
from wordpress-sandstorm.
From @dwrensha on August 30, 2016 18:3
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.
from wordpress-sandstorm.
Yeah, I totally agree. Let's try this first set of languages.
Great thanks
from wordpress-sandstorm.
I just moment ago moved issues to this new github org, and we are in progress of getting Sandstorm package built again. Pull requests etc help welcome :)
from wordpress-sandstorm.
Hey @jeau tanks again for your help with the languages. I was able to create a build. To ensure that we are talking about the same result: it will now be possible to change the back-end language in WordPress for Sandstorm. This has no impact on the frontend and how visitors see a page. Okay?
Right now I'm still having an issue with the display of the language, there is no text but the code displayed in the settings view:
If someone has an idea why that happens, please let me know. I'll do some testing with the new package and if I find a solution I'll include it otherwise I'll publish it with the code displayed.
Thanks
from wordpress-sandstorm.
Hi @JamborJan
Thanks for integrating these translations, I had seen this trick, and I tried to find a solution without success. I didn't look any further.
Outside Sandstorm, I think Wordpress uses some kind of webservice to get the list of available translations. In this case, Wordpress gets the labels. This is not the case when we put the files directly.
I'll do some investigation
from wordpress-sandstorm.
Hey @jeau thanks for the quick reply.
One feedback from my tests so far: it's working quite well. The only not translated point so far are the Sandstorm publishing information:
They are based on this: https://github.com/sandstormports/wordpress-sandstorm/blob/2be74309593b8de40622e1a82591f2f87db2daa1/read-only-plugins/mu-plugins/sandstorm.php
As I'm not familiar with creating *.po and *.mo files I have no chance to build these files now. If you are familiar with that, feel free to do so. If not: do you think this small english part will matter?
Thanks.
from wordpress-sandstorm.
hope I can do this work as soon as possible, the next few days
from wordpress-sandstorm.
Again thanks a lot @jeau. I was able to build a test package: https://github.com/sandstormports/wordpress-sandstorm/releases/tag/15
You can use it for testing. It should not destroy anything but please backup all WordPress grains before using it.
from wordpress-sandstorm.
thanks
I'm testing but currently I can't activate the localization correctly for this part
th
from wordpress-sandstorm.
@JamborJan I have found a solution to this issue. I have to test it but I'm still busy. I will publish a PR this weekend
from wordpress-sandstorm.
Dear @jeau thanks a lot for all your help with this. I've created a new package and published it also to the sandstorm app store. You can also find it here on github: https://github.com/sandstormports/wordpress-sandstorm/releases/tag/15
If there are any questions or if you have other ideas or requests for Wordpress on Sandstorm, please let me know.
from wordpress-sandstorm.
Related Issues (20)
- Pages which are not referenced in menus are missing (404s)
- Installing certain Plugins causes Error 500 HOT 4
- capnp build error HOT 20
- Metadata updates HOT 2
- Build Process HOT 10
- Screenshots should be updated HOT 1
- Sometimes the app will leave the sandstorm frame HOT 3
- New Gutenberg editor not working in Sandstorm HOT 2
- Add Finnish FI translation HOT 2
- loss of new posts HOT 4
- Media loading doesn't work in AOSP HOT 4
- 'Restore this revision' button is inactive at the revisions comparisment screen.
- 'bulk actions' doesn't work
- licensing server is unable to connect with my wp site HOT 5
- Why is this so out of date? HOT 1
- RSS Feed doesn't contain valid links
- WordPress testing official SQLite Support. Useful? HOT 2
- Release 17 tends to hang on powerbox-http-proxy setup HOT 3
- cURL error 60: SSL certificate problem: self signed certificate in certificate chain HOT 3
- Home page link is to wp-login.php HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-sandstorm.