You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
It's cumbersome to access a multilingual theme option in a template. We have to assign it to a variable and then use the locale key to access it.
What application are you using?
I'm proposing to add this to OJS 3.3.
Additional information
I appreciate this is a very minor improvement. But it would align ThemePlugin::getOption() with similar data access objects. Not everyone knows that $currentLocale is available in templates.
The text was updated successfully, but these errors were encountered:
NateWr
added a commit
to NateWr/pkp-lib
that referenced
this issue
Nov 15, 2024
Describe the problem
It's cumbersome to access a multilingual theme option in a template. We have to assign it to a variable and then use the locale key to access it.
Describe the solution
Add a
ThemePlugin
helper function get a localized option value.What application are you using?
I'm proposing to add this to OJS 3.3.
Additional information
I appreciate this is a very minor improvement. But it would align
ThemePlugin::getOption()
with similar data access objects. Not everyone knows that$currentLocale
is available in templates.The text was updated successfully, but these errors were encountered: