Hi Juan, I think you need to create a new file with es.json, just copy and paste the en.json file and replace the login notification accordingly.
Regards, George On Tue, May 5, 2020 at 9:47 PM Neumen - Juan Prigoshin < [email protected]> wrote: > Georgi : > > In en.json , the field “NAME” dont show. It’s because my lang is > spanish? > > > > *De:* Georgе Stoyanov [mailto:[email protected]] > *Enviado el:* martes, 05 de mayo de 2020 11:56 a.m. > *Para:* [email protected] > *Asunto:* Re: How can Guacamole be customized? > > > > > > Hey guys, > > > > I have also recently done just this and downloaded from the internet a > ready-made extension, hereto attached in .zip format. You need to extract > all the files from it and create a .jar file. You can do that by just > executing jar -cvf login_customization.jar * in this directory and then > placing the jar file in the /etc/guacamole/extensions directory, which you > might need to create first. > > > > You can customize the login message in the translations/en.json file and > the size of the login box on the web/custom.css. Then you need just to > change the logos in the web/images directory with your own. I strongly > advise you to replace the files using the same names and do not edit the > path of the logos defined in the custom.css file. If I am not mistaken the > logo-64.png should be the favicon, but better check for yourself. > > > > And I agree with Nick that the customization Wiki page with all available > options is a great idea. > > > > With regards, > > Georgi > > > > > > > > > > > > On Tue, May 5, 2020 at 11:13 AM Joachim Lindenberg <[email protected]> > wrote: > > Hi Nick, > > thanks a lot – great starting point. I modified your extension and > replaced the logo, some text, added some more text, changed styles.. > > Is there any means to use properties defined in guacamole.properties (or > environment) from html (or other) fragments? > > Thanks & Best Regards, Joachim > > > > *Von:* Nick Couchman <[email protected]> > *Gesendet:* Sonntag, 3. Mai 2020 21:46 > *An:* [email protected] > *Betreff:* Re: How can Guacamole be customized? > > > > On Sun, May 3, 2020 at 12:17 PM Joachim Lindenberg <[email protected]> > wrote: > > I agree with always use https, but disagree with always 2FA, and password > expiries have to be considered a bad practice nowadays. But all of this is > kind of off-topic w.r.t. Gucacamole - ultimately all of us have to make > their own decisions and sometimes trade-offs. > What I believe we should agree on is, that it should be easier to > customize the user interface, no matter what the reason is. I know it is > possible to write an extension doing that, but an example extension with > good documentation would be definitely welcome. Right now there are many > extensions out for authentication, but I am not aware of any that comes > without java code but extends the user interface, and if only adding a link > or overriding an image. > > > > https://issues.apache.org/jira/browse/GUACAMOLE-747 > > > > You're not the first one to ask about that. > > > > Does anyone have source code and is willing to share it? > > > > I just put together a pull request for the guacamole-client repo that > contains some example code. I don't know if/when it will be merged into > the repository, but you're welcome to take a look at it and see if it's > something that helps you out: > > > > https://github.com/apache/guacamole-client/pull/508 > > https://github.com/necouchman/guacamole-client/tree/jira/747 > > > > This branding extension does the following: > > - Changes the image used on the logon page > > - Changes the title used for the logon page and browser bar > > - Adds a warning banner on the logon page directly under the title and > above the username/password boxes > > - Customizes the font used throughout the interface > > - Customizes several color schemes used throughout the interface, notably > headers and buttons > > > > Hope it helps. > > > > -Nick > >
