And some excellent (and very fast) answers, which is one of the many reasons I like *you* Splittingred.
When I asked about translations, I wasn’t clear. I meant what will replace the old process of just creating a translated whatever.inc.php file and saving it in a new language directory. It sounds like there will be a Manager tool for doing the same thing. It also looks like you could export to a lexicon file, do the translation, and import it.
Well, lexicon->addDirectory is gone in SVN, as we’re deprecating it since it represents an old method, so no you couldn’t, technically.
$modx->lexicion->load("captcha") would still load a captcha.inc.php file as of yesterday

, at least I think it did, but I get your point.
Is there a way to assign a namespace to a plugin or is that something that’s in the works?
Path? Well, it’s up to you. You can put it wherever you want, for that matter. We’re totally not sure how we’ll utilize "path" yet, but I’m willing to bet it will be used with the vehicles as a "base target" path for installing the component.
That makes me feel better about my inability to figure out what it was for.
I’m not sure about the "base target" idea. For example, I’ve currently got one directory of files that I’m putting in
manager/assets/captcha
and a processor:
core/model/modx/processors/security/captcha.php
I just realized that I was putting them in those locations because that’s where they were when captcha was in the core and that’s no longer appropriate. The question is, where would they go?
I know we don’t want to put restrictions on anyone, but it would sure make life a lot easier for both developers and users if there were "suggestions" about where to put things. Even very sophisticated new users spend ungodly amounts of time looking for stuff when they want to understand what’s going on, alter a tpl file, or make a minor code modification. Developers spend unnecessary time trying to figure out where to put things and can make very bad choices due to their inexperience. If we had a suggested structure, however mildly suggested, people would be free to ignore it for whatever reason but it would be immensely helpful, IMO.
My add-on has two plugins, a couple of classes, a processor, and a bunch of assets (fonts and images). I could put them all together in one directory or have a captcha directory with classes, processors, and assets under it. Either way, where would be a logical place them (bearing in mind that other add-on developers might want to make use of the classes and maybe even the processor)?
You could make a case for putting the classes in modx/assets/classes and the processor in modx/assets/processors but then the namespace path doesn’t work like it should. Using modx/assets/classes/captcha and modx/assets/processors/captcha would be even worse.
Everything could go in assets/plugins/captcha but the add-on isn’t really a plugin.
The following seems to make the most sense to me and fit the best with namespace->path , but there may be something I’m not thinking of:
assets/captcha
assets
font and image files here
classes
veriword.class.php
mathstring.class.php
processors
captcha.php
It would be great if I could retrieve the namespace path and use it in the code.
Responses, thoughts, musings, advice, etc. invited.