Thanks to visit codestin.com
Credit goes to github.com

Skip to content

In-context translation for Frappe & ERPNext with automated suggestions. Instantly add or edit translations directly from any page.

License

Notifications You must be signed in to change notification settings

Mazen-Almortada/incontext_translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-Context Custom Translation for Frappe Apps

A Frappe app for creating custom translations right where you see them. Work faster with in-context editing and one-click automated suggestions.

✨ Features

  • Automated Suggestions: Get instant, one-click translation suggestions.
  • In-Context Editing: Edit translations directly on the page where the text appears.
  • Quick Translation Dialog: Instantly add or update translations with an easy-to-use popup.
  • Optional Context Support: Control whether a translation is saved with specific context.
  • Wide Coverage: Works with Workspace, Sidebar, Forms, and other common UI areas.
  • Multi-Language Ready: Designed to work with any language supported by Frappe.

📦 Installation

  1. Navigate to your Frappe Bench directory.

  2. Get the app:

    bench get-app https://github.com/Mazen-Almortada/incontext_translation.git
  3. Install the app on your site:

    bench --site yoursite.local install-app incontext_translation
  4. Build and clear cache:

    bench build
    bench --site yoursite.local clear-cache

🚀 Demo

Demo of Translation Mode

🔧 Configuration

Permissions: Only System Manager or Translation Editor roles can use this feature.

Dependencies: This app uses the deep-translator library for the translation suggestion feature.

Customization: You can extend the list of selectors in translation_mode.js to target more elements.

🪪 License

MIT License

About

In-context translation for Frappe & ERPNext with automated suggestions. Instantly add or edit translations directly from any page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published