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
10 stars 2 forks source link

Don't strip comments #24

Open piotrpog opened 5 years ago

piotrpog commented 5 years ago

I sometimes put informations in comments inside translation files that are important for developers. Plugin stripping these informations is pretty inconvinient.

piotrpog commented 5 years ago

Another comment related idea - comments with specific prefix could be actually used to create headers that would separate groups of translation strings.

'some_key' => 'some value',
// control-panel-header group of strings
'some_key2' => 'some value2',

This would generate "group of strings" header separating inputs in enupal translate control panel section.