the verb nl list all names inside a locale, eg, for locale abc,

nl_abc_''

for each name say foo, use 5!:5 to serialize it into a textual J
expression,eg

5!:5<'foo_abc_'

and then you can write them into a file. The reverse should be simply
loading a script.  HTH.

That said, you don't actually need workspace, but it needs some time to
adjust.




On 28 May, 2017 8:33 pm, "Herbert Weissenbaeck // Privat" <
[email protected]> wrote:

Thank you, Bjoern.
I manage to load and save locales manually (iterating over the items
contained therein).
My specific question is whether there are utility functions (or known best
practices) which automate the process.

> On 28 May 2017, at 14:14, Björn Helgason <[email protected]> wrote:
>
> You write to a file all your stuff you want to save.
> Then you load them back when you want to use them.
>
> I guess you know how to send them to the locale.
>
> You may want to look how the utils do jt.
>
> On 28 May 2017 12:04, "Herbert Weissenbaeck // Privat" <
> [email protected]> wrote:
>
>> How would I save the content of a specific locale into a file to read it
>> back from there at a later time.
>> Is there any reasonably elegant way to do that?
>> (For some applications I would strongly prefer a workspace oriented work
>> flow over working with scripts.)
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to