Got it ... I had done a quick check last night to validate and I had the
wrong observation because "Language" was already set by the call with the
"," so it appeared to work without the comma :)

Regards,
Kashyap

On Thu, Jun 30, 2022 at 6:39 AM Alexander Burger <a...@software-lab.de>
wrote:

> Hi Kashyap,
>
> > I believe that the comma was not strictly necessary in this tweet
> > https://twitter.com/PicoLispREPL/status/1542382434066788352  - the one
> > before "Language". Is that correct?
>
> No, in fact it is very important. Without it, nothing gets translated, and
> all
> calls to 'f' always return the string "Language".
>
> The comma is a read macro:
>
>    https://software-lab.de/doc/ref.html#macro-io
>
> It is normally used for collecting strings which are meant to be
> translated in
> an application. Any call to (locale Ctry Lang) will then translate all
> strings.
> In this twitter example only a single string "Language" was used though for
> brevity.
>
> ☺/ A!ex
>
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>

Reply via email to