modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 528 forks source link

Lexicon can be added, but can't be searched, modified, and deleted #3884

Closed nomo closed 8 years ago

nomo commented 13 years ago

nomo created Redmine issue ID 3884

When I installed FormIT snipet, I wanted to use custom lexicon for Japanese. I created my custom entry from lexicon management like this.


Name: formit.contains Namespace: formit Topic: default Language: ja

Value: value123

However, I can't search or update this entry any more because "ja" wasn't displayed.

BobRay advised me that I should prepare lexicon files like this.

cp -a core/components/formit/lexicon/en core/components/formit/lexicon/ja

After this, I could search and update my entry. I believe those custom entries should be searched and updated via management interface without preparing files.

Topic URL: http://modxcms.com/forums/index.php/topic,61276.0.html

MadeMyDay commented 13 years ago

mademyday submitted:

Same problem here. This is no useful solution imho.

For example I have a multi language site where I want the customer to translate form labels. I created a namespace via manager and put a custom lexicon folder somewhere and pointed the namespace to it. If I enter some new entries they are displayed green as expected according to this: http://modxcms.com/forums/index.php/topic,49077.0.html

But: If I create a new entry in the same namespace for another language it will work, but is nor displayed neither changeable in the manager. I think this is because the entries are parsed through the file system and created topics/entries from the manager are not taken in consideration.

So I see two possibilities when creating new entries through the manager:

  1. Create non existent languages/topics in the file system
  2. Also display entries which are only existent in the database

If solution 2 (which I would prefer) I would also suggest the possibility of creating topics and languages through the manager.

@Shaun: I assigned this to you, I think it is important. Sorry ;-)

OptimusCrime commented 8 years ago

Closing this due to old age and no further reports of the same problem.

If you have experienced this since or can give more information, feel free to comment or reopen this issue.

@modxbot close