revolution icon indicating copy to clipboard operation
revolution copied to clipboard

Feature request: Add lexicon support for element descriptions

Open sdrenth opened this issue 8 years ago • 8 comments

Summary

Would be nice if we could use lexicons for element descriptions, think of:

  • TV title
  • TV description
  • TV options (for select list)
  • Template names
  • Template description

etc.

sdrenth avatar Sep 21 '17 18:09 sdrenth

I believe thats been discussed here: https://github.com/modxcms/revolution/pull/11394

I think it's still at idea stage.

But I'd love to see something like this in MODX!

jonleverrier avatar Sep 21 '17 18:09 jonleverrier

I'm going to try and fix this today #modxbughunt

Oetzie avatar Feb 09 '18 13:02 Oetzie

Any luck @Oetzie ?

OptimusCrime avatar Feb 11 '18 22:02 OptimusCrime

A status update for this feature.

  • Categories supports lexicons:
    • In the MODX trees
    • In the MODX combo's (getlist processor)
    • In the resource TV panel
  • TVs supports lexicons:
    • In the MODX trees
    • In the resource TV panel
    • In the 'TV tab' of a template
  • Templates supports lexicons:
    • In the MODX trees
    • In the MODX combo's (getlist processor)

What I still need to fix is that TV options can support lexicons, after that I will create a pull request.

I made a new namespace called 'Lexicon' and that namespace holds all the translations. I did not make any language files in the core/lexicon/ directory, but I made the language files in the core/components/lexicon directory so the translations won't be overwritten in an update.

Oetzie avatar Feb 13 '18 08:02 Oetzie

Big +1 for this issue.

azeller avatar Nov 27 '18 12:11 azeller

Yes, this is important. I feel a bit embarrassed sometimes when promoting MODX as multilingual, while not being able to give editors instructions in their own language above a TV. And for an Arabic project, this proved especially cumbersome.

hugopeek avatar Nov 27 '18 12:11 hugopeek

Something along the lines of ModDevTools might work well for this, its code might be worth looking at.

ghost avatar Nov 27 '18 12:11 ghost

@Oetzie Hello! Did it turn out to complete the decision on this request?

Ibochkarev avatar Apr 08 '19 06:04 Ibochkarev