Below are the steps I take to configure the
used by WordPress.
This will control what is output by WordPress when your template uses
, for example:
<html <?php language_attributes(); ?>>
- Using your preferred method (such as FTP) open the WordPress directory on your server
- At the root level (typically a folder called www) you’ll find
- Open it with a text editor
- Scroll down until you see
- And change it to include the language code required, for example
- And that’s it – you may also find that WordPress will provide updates specifically for the language configured.