I would like to propose an additional feature for the language debugging mode.
Go to the Joomla admin panel, global configuration page and turn on the Language debugging mode.
Currently, turning language debugging on results in strings on the site being displayed either surrounded by asterisks (if they are translatable) or question marks (if they are not).
I would like to have an additional mode for the language debugging, so that it can show the language constants instead. These could be enclosed in an alternative notation rather than asterisks or question marks (maybe hash signs?).
This mode would be useful for cases where you want to find out what language constant is being used at a particular point on the page.
This can currently be found out by searching for the string in the search box on the language override page, but having it in the debug mode would be good as well because:
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | com_languages Feature Request Language & Strings |
Priority | Medium | ⇒ | Low |
Status | New | ⇒ | Needs Review |
Labels |
Added:
J3 Issue
|
I don't think it looks bad at all considering its usefulness.
It doesn't matter how ugly or pretty it is -- it's a tool for debugging purposes and testing purposes. Nobody is ever going to actively use the system with this switched on; you switch it on, find out what you need to know, and switch it back off again.
@brianteeman @Spudley we can wrap them in a hidden span. Thus you can still search or view them in the DOM but not mess up the layout too badly. just an idea...
Since there is a plugin for this, can this be closed?
it is not a published plugin on the jed
FYI, there is a system plugin that almost just exactly does that.
Can't remember right now who wrote it.
It was me
I hacked this together a year ago or so. It overrides the JText class with the one in the plugin which then returns the key instead of the translated value.
It isn't published anywhere as it was a request from one translator and it was shared in the translator forum only.
I think you can't put it on JED since it overrides the core class, which imho isn't allowed on JED.
Btw: There is also a plugin which allows to translate to Crowdin directly from your Joomla installation. You can click the text you want to translate, change it inline where it appears and it sends the translation as suggestion to Crowdin.
That one would be on GitHub: https://github.com/Bakual/crowdinachug
Status | Needs Review | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 14:59:45 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/14304
any comment @infograf768?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14304.