|
| 1 | +import React from 'react'; |
| 2 | +import { Typography } from '@mui/material'; |
| 3 | + |
| 4 | +export default function Internationalization() { |
| 5 | + return ( |
| 6 | + <React.Fragment> |
| 7 | + <Typography variant="h3">Japanese Language Support</Typography> |
| 8 | + <section> |
| 9 | + <Typography variant="body1" gutterBottom={true}> |
| 10 | + Remap has always been available in English only, but now it also |
| 11 | + supports Japanese. If your web browser's language is set to |
| 12 | + Japanese, Remap will automatically be displayed in Japanese. This |
| 13 | + update enhances convenience for users whose native language is |
| 14 | + Japanese. |
| 15 | + </Typography> |
| 16 | + <Typography variant="body1" gutterBottom={true}> |
| 17 | + If you prefer Japanese but the interface is still in English, please |
| 18 | + check whether your web browser's language settings are set to |
| 19 | + Japanese. Additionally, verify that your OS language settings are also |
| 20 | + set to Japanese. |
| 21 | + </Typography> |
| 22 | + <Typography variant="body1" gutterBottom={true}> |
| 23 | + If you wish to continue using Remap in English, you can do one of the |
| 24 | + following: |
| 25 | + <ul> |
| 26 | + <li> |
| 27 | + Change your web browser's language settings to English. |
| 28 | + </li> |
| 29 | + <li> |
| 30 | + Add <code>?lng=en</code> to the end of the URL when accessing |
| 31 | + Remap. |
| 32 | + </li> |
| 33 | + </ul> |
| 34 | + </Typography> |
| 35 | + <Typography variant="body1" gutterBottom={true}> |
| 36 | + By appending <code>?lng=en</code> or <code>?lng=ja</code> to the URL, |
| 37 | + you can force Remap to display in the specified language. The selected |
| 38 | + language will be remembered the next time you access Remap. |
| 39 | + Specifically, the language setting is stored in{' '} |
| 40 | + <code>localStorage</code> under the key name <code>i18nextLng</code>. |
| 41 | + If you encounter any issues, try deleting the |
| 42 | + <code>i18nextLng</code> entry from <code>localStorage</code>. |
| 43 | + </Typography> |
| 44 | + </section> |
| 45 | + </React.Fragment> |
| 46 | + ); |
| 47 | +} |
0 commit comments