On Thu, Jan 17, 2019 at 6:19 AM Shilpa Bhandari <
shilpa.bhand...@fonantrix.com> wrote:

> I've seen that we can modify this message from en.json in Guacamole client
> but I've installed Guacamole using docker image. But how can I modify the
> client code of that docker image?
>

You have a couple of options, I believe.  First, you could fork the Git
repository for the code and customize it as you desire, changing the
en.json files (and whatever other languages you wish to customize) to suit
your needs.

Another option, that I believe would work, would be to create your own
branding extension and provide a "en.json" file that overrides the
translation strings for the items you wish to customize.  The following web
page provides information on extensions, in general:

http://guacamole.apache.org/doc/gug/guacamole-ext.html

On that page you'll find an example of a guac-manifest.json file for
branding - essentially, within the guac-manifest.json file, you should be
able to specify a section like this:

    "translations" : [
        "translations/en.json"
    ]


And, then, in the translations/en.json, you can override the translation
strings you wish to change.  The strings you wish to override will need to
follow the same JSON structure as the original ones.

I'm reasonably certain that will work - I haven't actually tried it, but I
know that's the way that you override the Application Name, login screen,
etc., so it should work for messages like "Connection to guacamole...", etc.

-Nick

Reply via email to