Comments (5)
doing that makes it spit out lang="en-US" rather than lang="en" i believe which is why i didn't originally do it
will look into this further, and also we'll be implementing #24 soon
thanks for the issue
from sage.
Well, if "en-US" isn't what you want, you probably should edit the constant WPLANG in your wp-config.php.
Thanks for the good work BTW. Just reading the documentation was a joy :-)
from sage.
en-US is actually a valid language code: http://www.w3.org/TR/html401/struct/dirlang.html#h-8.1.1
I'm assuming there wouldn't be much real world difference between "en" and "en-US" since the primary code is still the same.
from sage.
Why is "en-US" converted to "en" when it is a valid language code (as @swalkinshaw said) and is based on what is already properly set by (or defaulted to by) WPLANG?
I also don't understand why dir="rtl" is added if applicable, but dir="ltr" is not
Furthermore, it doesn't look like is_rtl() is used properly since it's only supposed to return a boolean - http://codex.wordpress.org/Function_Reference/is_rtl
from sage.
@philipashlock thanks for bringing this up again. See #942 for updates.
from sage.
Related Issues (20)
- Bug: tailwind plugins import issue HOT 3
- Method ReflectionParameter::getClass() is deprecated Bug: HOT 1
- Bug: > cache/acorn/framework/cache directory must be present and writable HOT 1
- ❤️ Feature Request: static analysis of blade templates HOT 1
- Sage is incompatible with symbolic links : Unrecognized file extension HOT 1
- Replace single line PHP statements HOT 1
- Sage 9 + Wordpress 6.3 : Notice: Error when decoding a JSON file at path... HOT 3
- Can Sage 10 integrate React and use shadcn/ui? HOT 1
- Hot reload not working (Redirecting to base URL when front page is set) HOT 1
- @import tailwind syntax is not supported and can cause issues with bud cache
- Unable to use @import on css files HOT 1
- Use modern Yarn install
- [sage 9] page-template not working on wordpress 6.4 HOT 1
- Sage 10 tailwind css is not working without small addition to tailwind.config.js HOT 5
- Sage 9 + Wordpress 6.4 and 6.4.1 create broken Gutenberg layout HOT 3
- Admin bar breaking error pages HOT 1
- Seems eslint --fix doesn't apply prettier changes HOT 1
- do_action('get_header') should occur before wp_head() HOT 13
- "editor.css" not included when Gutenberg (block) editor is in the new iframe mode
- Tailwind logical properties classes does not work as expected 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 sage.