Completion of site multilingualization modifications
Once the multilingualization of the site was completed, but for unknown reasons, the category and archive pages were not working and all pages were displayed.
By registering the multilingualized portion of the original child theme to the pattern, creating a new child theme, and repositioning the pattern that was created, the multilingualization of the site has been modified.
It is a bit bewildering that the cause is not clear, but at any rate, the multilingualization fix using the Block Visibility plugin is complete.
In addition, categories and archives are also placed in the sidebar.The categories and archives are placed in the sidebar, and the display of the categories and archives are arranged in the style.css of the child theme so that they look similar to the original latest postings.The categories expand and contract accordion-style.
After that, place sidebars on individual post, category, and archive pages.Make a backup once it is in working order.
In addition to the 14-day automatic backup by Acronis Backup, ABLENET rental servers can also be backed up manually.Manual backups are stored locally in a designated location under your home directory and can be restored from backups at any time.This is very convenient because it does not require any plug-ins.
Gutenberg editor patterns are useful
It is convenient to group blocks and register them as patterns so that the same content can be added by simply calling the pattern in other places.It is especially useful when combined with the Block Visibility plugin for multilingualization, and when patterns are created with branching by URL.
- Japanese is displayed if both /en/ and /zh/ are not included
- English is shown if /en/ is included
- Simplified Chinese is shown if /zh/ is included
In this way, only one of the translated blocks and Japanese will be displayed if they are placed in a group.
If you want to add more languages, you can do so by adding new translations to the pattern and changing the condition classification.
If the blog home and individual posts of the Twenty Twenty Five theme template are each one, and the multilingualized patterns are assembled by fitting them into it, the template will only need to be modified by one, which will be easier to manage.
We have patterned most of the multilingual groups after this trouble.It will be relatively easy to transition to using the next theme.
Musubi
This is a nightly update.I arrived at work a little early in the morning, and at a morning meeting, I was given a morning job with a deadline, followed by a series of site checks and meetings that kept me so busy that I could barely eat lunch.It looks like it will be more of the same for a while.I want to make a conscious effort to rest my mind and body as much as possible.
Leave a Reply