How to translate entire interface without touching the index.php?

Post Reply
User avatar
c0mp0ser
Posts: 66
Joined: Mon Jan 02, 2017 11:59 am

How to translate entire interface without touching the index.php?

Post by c0mp0ser »

Is there any way to do it? Is there a hope that entire WCMS interface could be translated to any language, including ALL allerts/messages? How to make the alerts translateable?
It's just me, an unmeasurable particle of the cosmos ...
https://pawelkruzel.m00n.link
https://m00n.link
https://materialize-wcms.m00n.link
User avatar
c0mp0ser
Posts: 66
Joined: Mon Jan 02, 2017 11:59 am

Re: How to translate entire interface without touching the index.php?

Post by c0mp0ser »

Hi,

I expanded the Polish translation with missing phrases, concerning the Settings panel (inside the "pl.csv"). I checked how the Simple Statistics plugin is translated and tried to apply this way when translating WCMS alerts. Without success. Why doesn't it work? Example phrase at line 263 of WCMS's index.php:

Code: Select all

"Hide all alerts until next login","Some translation"
Nothing has been translated. The same problem applies to the Simple SEO plugin, for example. It is impossible to translate its button, title in the Settings panel, etc. Or I'm doing something incorrectly.

What is the explanation of that? If this is clarified, me and others will be able to translate all messages/alerts without touching the index.php. And the WHOLE WCMS project will be far ahead because of it.

Can anybody help?
It's just me, an unmeasurable particle of the cosmos ...
https://pawelkruzel.m00n.link
https://m00n.link
https://materialize-wcms.m00n.link
Post Reply