[Gambas-user] Translations - Webpage

Bruce Steers bsteers4 at gmail.com
Sun Oct 16 10:52:19 CEST 2022


Did you try line 1like Gian posted it?

  <title><%Print ("Web Page Written with Gambas3")%></title>

I believe (but i could be wrong) that putting the text inside parenthesis
(brackets) exposes it to the translator.



On Sun, 16 Oct 2022 at 09:42, Hans Lehmann <hans at gambas-buch.de> wrote:

> Am 15.10.22 um 23:18 schrieb gian via User:
>
> The translations in lines 2 and 3, for example to German, are displayed
> correctly in the generated web page.
>
> (1) <<Page title="Gambas WebPage Example">>
> (2)   <h2><%Print ("Gambas WebPage are easy!")%></h2>
> (3)   <h2><%Print ("Time is ")%><%=Format(Now, "hh:nn:ss")%></h2>
> (4) <</Page>>
>
>
> Hello Gian,
>
> Thank you for confirming the working translations in lines 2 and 3.
>
> This is about the translation of the text "Gamba's WebPage Example" in the
> argument named 'title'.
> I can't find an approach for this translation in line 1; hence my call for
> help in the list.
>
> With kind regards
>
> Hans
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221016/0c0d8084/attachment.htm>


More information about the User mailing list