Dashboard Translation Issue (Urgent)
the dashboard does not change to the selected language, it stays in English even when I change the site language to a different language. please fix the bug ASAP.
FYI, I used loco for translating. also, the site is fresh/clean, and no other plugins
Thank you!
Comments5
Mücahit Ergül
Nov 19, 2024
This plugin does not retrieve translation files from
.pofiles like other plugins. Instead, it uses theconvert-clitool to convert.pofiles into.jsonformat, and it uses the resulting.jsonfile.To use this tool, follow these steps:
Download the translated
.pofile for the language you want to use.Install Node.js on your computer.
Place your
.pofile and theconvert-clitool (theconvert-cli.jsscript) in the same directory on your computer.Open the Command Prompt (CMD) and navigate to the directory containing the files.
Run the following command:
node convert-cli.jsAfter running the command, a
.jsonfile will be created in the same folder.Upload the generated
.jsonfile to your website, placing it alongside the original.pofile. You should now see the language working on your site.Developmizer
Nov 19, 2024
I will try that out,
Thank you so much and I appreciate you guys!
An Anonymous User
Nov 20, 2024
I successfully created the
.jsonfile and uploaded it alongside the.poand.mofiles. However, the dashboard still displays in English, and I’m unsure what might be causing the issue.Here’s a zip file containing the files I created for reference. Please note that I’ve only translated a few words to test the process.
https://transfer.zip/#BLKAkmuKUB6vWfJTZb5CrNFYmSqT8UmQ7rxNcfieSyI,6b42b387-a993-4f5d-8b80-642e30afa8e3,R
Your advice is highly appreciated! :)
An Anonymous User
Nov 19, 2024
This plugin does not retrieve translation files from
.pofiles like other plugins. Instead, it uses theconvert-clitool to convert.pofiles into.jsonformat, and it uses the resulting.jsonfile.To use this tool, follow these steps:
Download the translated
.pofile for the language you want to use.Install Node.js on your computer.
Place your
.pofile and theconvert-clitool (theconvert-cli.jsscript) in the same directory on your computer.Open the Command Prompt (CMD) and navigate to the directory containing the files.
Run the following command:
node convert-cli.jsAfter running the command, a
.jsonfile will be created in the same folder.Upload the generated
.jsonfile to your website, placing it alongside the original.pofile. You should now see the language working on your site.