Missing translations for custom fields

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
wilmira
Veteran Member
Posts: 67
Joined: 2013-07-11 18:00

Missing translations for custom fields

Post by wilmira » 2018-07-13 20:16

Hello everybody,

I need to translate the titles for the custum fields in the membership_signup.php and the pageEditMember.php files.

There are not any translations for these fields neither in language.php nor in language-admin.php

I treid, without success, to translate directly in the files, so I found them in the adminConfig array in settings-manager.php and setup.php files, however, even when I changed the values of custom fields to the spanish text, it won´t change in my app.

Does anybody know how to translate this in the program files, before they are includen in the language files. Or in case there is no way to do that, is it possible to hide this fields?

Thanks in advance,

Wilfredo
Attachments
customfieldssingup.png
customfieldssingup.png (15.93 KiB) Viewed 2544 times
customfieldsadmin.png
customfieldsadmin.png (16.77 KiB) Viewed 2544 times

patsd102
Veteran Member
Posts: 142
Joined: 2013-01-15 19:59

Re: Missing translations for custom fields

Post by patsd102 » 2018-07-14 08:38

HI,

Go to admin page/utilities/admin settings and update there
23.17

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Missing translations for custom fields

Post by pbottcher » 2018-07-14 13:55

look for Members custom field 1 till Members custom field 4
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

wilmira
Veteran Member
Posts: 67
Joined: 2013-07-11 18:00

Re: Missing translations for custom fields

Post by wilmira » 2018-07-15 04:27

Thank you patsd102 and pböttcher, that was really easy.

Post Reply