Search Page Maker

Topics related to AppGini plugins/add-ons go here.
Post Reply
User avatar
Marcelo Vitoria
Veteran Member
Posts: 79
Joined: 2016-10-11 12:08

Search Page Maker

Post by Marcelo Vitoria » 2024-04-04 17:02

Hello friends

I purchased the Search Page Maker plugin, and when generating searches, it does not accompany the translation file, (I use Portuguese), leaving buttons and the page text in English.

Is this normal or is there a problem with my Pugin?

Will I have to translate the text and buttons on the screen manually every time I generate a search screen?

Thank you
Marcelo Vitoria
Coding since 1982 ! :geek:
Basic Sinclar - Clipper - Visual Foxpro - VB6 - PHP
AppGini 24.17 - AdminLTE - SPM
https://www.workspaceservices.com.br

User avatar
a.gneady
Site Admin
Posts: 1309
Joined: 2012-09-27 14:46
Contact:

Re: Search Page Maker

Post by a.gneady » 2024-04-04 17:58

SPM generates a custom filter page for each table in the hooks folder named like tablename_filter.php. The language strings are hard-coded in that file currently, so it can be translated directly in that file, but I plan to implement standard translation in future releases of the plugin.
:idea: AppGini plugins to add more power to your apps:

User avatar
Marcelo Vitoria
Veteran Member
Posts: 79
Joined: 2016-10-11 12:08

Re: Search Page Maker

Post by Marcelo Vitoria » 2024-04-10 22:05

a.gneady wrote:
2024-04-04 17:58
SPM generates a custom filter page for each table in the hooks folder named like tablename_filter.php. The language strings are hard-coded in that file currently, so it can be translated directly in that file, but I plan to implement standard translation in future releases of the plugin.
Another question:

Are the other Plugins also like this?
Marcelo Vitoria
Coding since 1982 ! :geek:
Basic Sinclar - Clipper - Visual Foxpro - VB6 - PHP
AppGini 24.17 - AdminLTE - SPM
https://www.workspaceservices.com.br

User avatar
a.gneady
Site Admin
Posts: 1309
Joined: 2012-09-27 14:46
Contact:

Re: Search Page Maker

Post by a.gneady » 2024-04-11 12:14

Here is a detailed list of language support for each plugin:
  • Summary Reports plugin: hooks/language-summary-reports.php can be used to translate generated reports.
  • Calendar plugin: plugins/calendar/app-resources/plugin-calendar/language/en.js can be used to translate generated calendars. Copy that file, renaming the copy to the 2-character abbreviation of the desired language, for example it.js for Italian.
  • Messages plugin: plugins/messages/language/en.js can be used to translate the interface. Copy that file, renaming the copy to the 2-character abbreviation of the desired language, for example de.js for German.
  • Mass Update plugin: plugins/mass_update/app-resources/language-mass-update.js can be translated.
  • DataTalk: No support for translation yet.
  • Search Page Maker plugin: No support for translation yet.
So, currently each plugin has its own way of applying translations, rather than a standardized way of translating all plugins. But this is something that I plan to work on in future releases.
:idea: AppGini plugins to add more power to your apps:

User avatar
Marcelo Vitoria
Veteran Member
Posts: 79
Joined: 2016-10-11 12:08

Re: Search Page Maker

Post by Marcelo Vitoria » 2024-04-11 16:31

a.gneady wrote:
2024-04-11 12:14
Here is a detailed list of language support for each plugin:
  • Summary Reports plugin: hooks/language-summary-reports.php can be used to translate generated reports.
  • Calendar plugin: plugins/calendar/app-resources/plugin-calendar/language/en.js can be used to translate generated calendars. Copy that file, renaming the copy to the 2-character abbreviation of the desired language, for example it.js for Italian.
  • Messages plugin: plugins/messages/language/en.js can be used to translate the interface. Copy that file, renaming the copy to the 2-character abbreviation of the desired language, for example de.js for German.
  • Mass Update plugin: plugins/mass_update/app-resources/language-mass-update.js can be translated.
  • DataTalk: No support for translation yet.
  • Search Page Maker plugin: No support for translation yet.
So, currently each plugin has its own way of applying translations, rather than a standardized way of translating all plugins. But this is something that I plan to work on in future releases.
Hello Ahmad

Thanks for the clarifications.

I believe it would be simpler for you to add the translation of the Plugins directly to the AppGini translation file, so when users purchase the plugins, when configuring the Plugins, they would already be displayed translated in the language of the translation file.
Marcelo Vitoria
Coding since 1982 ! :geek:
Basic Sinclar - Clipper - Visual Foxpro - VB6 - PHP
AppGini 24.17 - AdminLTE - SPM
https://www.workspaceservices.com.br

User avatar
a.gneady
Site Admin
Posts: 1309
Joined: 2012-09-27 14:46
Contact:

Re: Search Page Maker

Post by a.gneady » 2024-04-12 20:15

Will consider this option, though it creates some inter-dependencies in development, but it would indeed be easier for users to manage translations.
:idea: AppGini plugins to add more power to your apps:

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1201
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Search Page Maker

Post by onoehring » 2024-05-31 06:33

Hi Ahmed,

I think
I believe it would be simpler for you to add the translation of the Plugins directly to the AppGini translation file, so when users purchase the plugins, when configuring the Plugins, they would already be displayed translated in the language of the translation file.
is a very good idea.

The interdependencies should not be :-( Thus I suggest using a prefix for the plugin texts. This should prevent interdependencies I suppose (like: pg_spm_OriginalEnglishText for "Plugin", "SearchPageMaker" ...

PS: Having translation in the AG file might also trigger sales of those plugins. Just might be

Olaf

Post Reply