Skip to main content

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!

5 comments

Comments5

  • Mücahit Ergül

    •

    Nov 19, 2024

    This plugin does not retrieve translation files from .po files like other plugins. Instead, it uses the convert-cli tool to convert .po files into .json format, and it uses the resulting .json file.

    To use this tool, follow these steps:

    1. Download the translated .po file for the language you want to use.

    2. Install Node.js on your computer.

    3. Place your .po file and the convert-cli tool (the convert-cli.js script) in the same directory on your computer.

    4. Open the Command Prompt (CMD) and navigate to the directory containing the files.

    5. Run the following command:

      node convert-cli.js
    6. After running the command, a .json file will be created in the same folder.

    7. Upload the generated .json file to your website, placing it alongside the original .po file. 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 .json file and uploaded it alongside the .po and .mo files. 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 .po files like other plugins. Instead, it uses the convert-cli tool to convert .po files into .json format, and it uses the resulting .json file.

    To use this tool, follow these steps:

    1. Download the translated .po file for the language you want to use.

    2. Install Node.js on your computer.

    3. Place your .po file and the convert-cli tool (the convert-cli.js script) in the same directory on your computer.

    4. Open the Command Prompt (CMD) and navigate to the directory containing the files.

    5. Run the following command:

      node convert-cli.js
    6. After running the command, a .json file will be created in the same folder.

    7. Upload the generated .json file to your website, placing it alongside the original .po file. You should now see the language working on your site.