A minimal single HTML application that allows for easy entry of bilingual translations
The Translation App is a web-based tool designed to facilitate translation tasks. It supports entering original sentences, adding translations, associating meanings to individual words, saving data as JSON, and resuming work by uploading saved files. The app provides a user-friendly interface with accessible keyboard shortcuts for efficient workflow management.
- Input original sentences and their translations.
- Add individual word meanings for each sentence.
- Edit or delete existing sentences.
- Automatically assigns and reorders sequences for each sentence.
- Save current data as a JSON file using:
- Button: "Save"
- Shortcut:
Ctrl + S
- Load a previously saved JSON file to continue work.
Toggle between different views for specific needs:
- Original Sentences:
- Displays all original sentences in sequence.
- Shortcut:
Alt + O
- Translated Sentences:
- Displays all translated sentences in sequence.
- Shortcut:
Alt + T
- Words with Meanings:
- Displays all words and their meanings in sequence.
- Shortcut:
Alt + W
- Back to Main Data Entry Page:
- Returns to the main interface for data entry.
- Shortcut:
Ctrl + Shift + K
Action | Shortcut |
---|---|
Save data as JSON | Ctrl + S |
Load a saved JSON file | Use upload button |
View original sentences | Alt + O |
View translated sentences | Alt + I |
View words and meanings | Alt + W |
Back to main data entry page | Ctrl + Shift + K |
- Use the input box to type an original sentence.
- Click Next or press
Enter
to confirm. - Add a translation and individual word meanings.
- Edit: Modify sentences or word meanings directly in the respective fields.
- Delete: Click the "Delete" button to remove a sentence.
- Click Save or press
Ctrl + S
to download a JSON file of your work.
- Click the file upload button and select a JSON file to resume work.
- Use the view buttons or keyboard shortcuts to navigate between:
- Originals
- Translations
- Words with meanings
- Main data entry page
The app saves and loads data using the following schema:
{
"sentences": [
{
"sequence": 1,
"original": "mama nAma Aditya",
"translation": "my name is aditya",
"word_translations": {
"mama": { "translation": "my" },
"naama": { "translation": "name" },
"aditya": { "translation": "" }
}
}
]
}
- sequence: Numeric order of the sentence.
- original: The original sentence.
- translation: The translation of the sentence.
- word_translations: A mapping of words to their respective translations.
- Enhanced styling and dark theme options.
For feedback or issues, reach out to adityabmv@gmail.com.