Open daniol opened 4 years ago
Hi @daniol
We can add a setting to disable translate phrases in AdminCP and force it using default language. All apps don't need to update variable.
How do you think about this solution? Can it resolve your issue?
Regards.
Hi @harrison05 .
The suggestion doesn't cover the described issue. We need a filter to exclude the AdminCP texts from the translation work, for example a new field on the database table "phpfox_language_phrase", a different module name or a consistent variable naming convention.
For others experiencing this problem, I build a rudimentary filter that excludes some of the AdminCP texts:
text
does not contain "<title>"Thanks.
What's happened?
I am translating phpfox to a language which has not yet translated; however I would like to translate only the frontend and let the strings that are only used on the AdminCP untranslated in english for better clarity. Therefore, I would like to filter out the strings of the AdminCP to concentrate only in the frontend.
That's not possible, because the strings that are saved on the table "phpfox_languagephrase" are not sorted in any way: all of them have the module "phphfox" and only few variable names begin with "admincp".
What's expected?
Strings that are only used on the admin panel are clearly flagged and can be filtered.