enupal / translate

Translate your website templates and plugins into multiple languages for Craft CMS. Bulk translation with Google Translate or Yandex.
https://enupal.com/craft-plugins/translate
Other
11 stars 2 forks source link

Feature Request: Auto-detect strings in project.yaml #29

Open monachilada opened 4 years ago

monachilada commented 4 years ago

Description

It would be super cool if the plugin recognised all of the string I have used to name and describe fields and sections and offer them in the plugin for translation.

I don't see it addressed very often, but I often have the case where I want to localize the CMS for editors in different locales. A great part of the author experience would be even more improved if a user could read instructions in their native language.

How I would see this working:

  1. Plugin sniffs for the presence of project.yaml file and extract a whitelist of keys that should be translateable — "name", "instructions", "label" and so on
  2. These keys would be presented as a distinct category on the left side in the plugin interface.
andrelopez commented 4 years ago

Good idea! I'll research this. Thank you

nitech commented 1 year ago

Follow up on this. Do I understand correctly that the question addresses ability to translate field names and field instructions, so that each user can see field names and instructions in their own language inside Craft CMS?

In any case, that's what I need.