Giter Club home page Giter Club logo

Comments (5)

kavithagurusamy avatar kavithagurusamy commented on June 7, 2024

Please share your environment details so that we could identify the issue you are facing.

from orangehrm.

kavithagurusamy avatar kavithagurusamy commented on June 7, 2024

Can you please share us the requested information?

from orangehrm.

enesphp avatar enesphp commented on June 7, 2024

i have the same problem #1737

from orangehrm.

enesphp avatar enesphp commented on June 7, 2024

I have solved the issue. The root cause of the problem occurs when we copy the translated text from the translation screen and paste it into the input field, then click "save."

Here's what I have identified:

I queried the database with the corresponding Turkish Language ID in the table where translations are stored. "SELECT * FROM ohrm_i18n_translate WHERE language_id = 480;" Turkish Language ID number is 480.

Then, I exported all the translations I made for the Turkish language in SQL format, opened it in a text editor. I noticed that some data contains hidden invalid characters like <80a00>. My guess is that these characters might have come from copy-pasting during translation. When we save the translated text with unnecessary characters like <80a00> into the input field, it gets stored in the database and caches are updated.

As a solution, I applied the following code in the database: "DELETE FROM ohrm_i18n_translate WHERE language_id=480;" With this code, I deleted all the Turkish content for which I had done translations.

I reviewed the downloaded SQL file, removed the lines containing faulty data, re-imported the SQL, and deleted the src/cache/orangehrm folder via FTP.

The system is now functioning properly.

from orangehrm.

devishke-orange avatar devishke-orange commented on June 7, 2024

I'm closing this as there has been no activity.

from orangehrm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.