This application was developed to assist in the translation process by allowing users to check a list of new translated strings against an existing CSV file of translations. It helps ensure that strings are not duplicated in the CSV before being added.
Note: There is also a webapp Version for this application here.
- Compare a list of strings (e.g., new translations) with the entries in a CSV file.
- Check against both the first column and the column after the first comma in the CSV.
- Identify duplicates in the CSV for the column after the first comma.
- Display results dynamically in the GUI, including:
- Found Strings: Strings from the input list that already exist in the CSV.
- Not Found Strings: Strings from the input list that are not in the CSV.
- Duplicates After Comma: Strings in the second column of the CSV that are duplicated.
-
Clone the Repository:
git clone https://github.com/Eddcapone/CSV-Translation-Duplicate-Checker cd csv-translation-checker
-
Install Python: Ensure you have Python 3 installed on your system.
-
Run the Application:
- On Windows:
python main.py
- On macOS/Linux:
python3 main.py
- On Windows:
-
Use the Application:
- Upload a CSV file containing your existing translations.
- Enter a list of new translations (one string per line) into the text area.
- Click the Check Words button to process the data.
-
View the Results:
- Found Words: Strings from your input list that match entries in the CSV.
- Not Found Words: Strings from your input list that do not match any entries in the CSV.
- Duplicates After Comma: Entries in the second column of the CSV that are duplicated.
"Your Address", "Votre adresse"
Personal Details, Informations personnelles
"Password Strength","Force du mot de passe"
"No Password","aucun mot de passe"
"No Password","Foo"
"Bar","aucun mot de passe"
Password Strength
Votre adresse
Prix
Found Words:
password strength
votre adresse
Not Found Words:
Prix
Duplicates in CSV:
no password
aucun mot de passe
- Strings are compared without case sensitivity or surrounding quotes (e.g.,
"Password Strength"
andpassword strength
are treated as equal). - The application dynamically updates the progress bar and results list to ensure responsiveness.
- Ensured accurate comparison of input strings against both columns.
If you'd like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE
file for details.