Re: Baculum at symbols

Aaron Baxter <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAKnhGCAR-eqGo=g3z_iA2R+6f6iBMOjXLH++3R7t_HfWxQWz3A@mail.gmail.com>
Marcin,

Oh thank you. That got me to the right place to see what it did.

It had a symlink to the file, but in my home directory (in their respective
directories of course)

lrwxrwxrwx 1 www-data www-data   76 Oct 15 01:58 messages.mo ->
/home/myuser/baculum_runtime/usr/share/locale/en/LC_MESSAGES/baculum-api.mo
lrwxrwxrwx 1 www-data www-data   76 Oct 15 01:58 messages.mo ->
/home/myuser/baculum_runtime/usr/share/locale/en/LC_MESSAGES/baculum-web.mo

To fix it, I copied the files to the correct spot
/usr/share/local/en/LC_MESSAGES and recreated the symlinks.

ln -s /usr/share/locale/en/LC_MESSAGES/baculum-api.mo messages.mo
ln -s /usr/share/locale/en/LC_MESSAGES/baculum-web.mo messages.mo

Perhaps in addition to the INSTALL update, the Makefile could be updated.
If I get free time I'll do a pull and make the makefile more customizable
and possibly generate an install script.

On Mon, Oct 14, 2024 at 10:59 PM Marcin Haba <[email protected]> wrote:

> On Tue, 15 Oct 2024 at 04:31, Aaron Baxter <[email protected]> wrote:
>
>> I may have gone about this all wrong, but I could only get Baculum
>> installed on Ubuntu 22.04 through the git repository.  I ran the makefile
>> customized to my environment, manually created and copied the files,
>> changed permissions, and ran the install checker  I was able to connect to
>> and configure both the API and the Web portions and all seems well, but the
>> web interface has @@ symbols around everything (see below).  There are no
>> errors in the apache error logs so I'm not sure what's going on.
>>
>> Any advice would be appreciated.
>>
>
> Hello Aaron,
>
> These 'at' symbols mean that there are missing translation language files
> for the selected language. If your language is English, then please follow
> on steps below:
>
> 1) Download messages.mo for API:
>
>
> https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/blob/Branch-15.0/gui/baculum/protected/API/Lang/en/messages.mo
>
> 2) Copy the downloaded messages.mo to this path:
>
> [YOUR_DOCUMENT_ROOT]/protected/API/Lang/en/messages.mo
>
> 3) Download messages.mo for Web:
>
>
> https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/blob/Branch-15.0/gui/baculum/protected/Web/Lang/en/messages.mo
>
> 4) Copy the downloaded messages.mo to this path:
>
> [YOUR_DOCUMENT_ROOT]/protected/Web/Lang/en/messages.mo
>
> If you need other languages, please do it in the similar way with changing
> the language directory.
>
> Good luck!
>
> Thanks for the idea about the INSTALL file. For sure, there could be more
> details.
>
> Best regards,
> Marcin Haba (gani)
>

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.