guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Jumper <mike.jum...@guac-dev.org>
Subject Re: INFO Required : Add support of Japanese language
Date Mon, 05 Mar 2018 07:36:28 GMT
On Sun, Mar 4, 2018 at 11:12 PM, Amarjeet Singh <amarjeetxc@gmail.com>
wrote:

> Hi Team,
>
> I want to add support of Japanese language in Guacamole-Client.
>
> Would adding  only *ja.json* files in translation folder work ?
>
>
If it is added within the source prior to building Guacamole, yes.

How Guacamole detects the language  and fetch the files from translation
> folder ?
>
>
They're deployed alongside the web application like any other static file.
Guacamole reads through the contents of the "translations" directory during
startup to determine what languages are defined, dynamically unifying them
with any translation strings defined by extensions. The actual language is
dictated by the two-letter language code in the file's name, while the
display name for the language is dictated by the "NAME" translation string
at the root level of each JSON file.

- Mike

Mime
View raw message