How to produce two glossaries from one dictionary or source file?

Hello @fungai2000! Are you looking to simply print the glossary? Do you also want to preserve the ability to “reference” a term?

In which case, I don’t see why you wouldn’t be able to use either glossy or glossarium.

A quick example without further formatting is like

#import "@preview/glossarium:0.5.6": *

#let list-a = (
  (
    key: "Foo",
    long: "Lorem",
    description: [Comment A]
  ),
  (
    key: "Bar",
    long: "Ipsum",
    description: [Comment B]
  ),
)
#let list-b = list-a.map(
  x => (
    key: x.long,
    long: x.key,
    description: x.description
  )
)
#show: make-glossary
#register-glossary(list-a)
#register-glossary(list-b)

= English to Latin
#print-glossary(list-a, show-all: true)

= Latin to English
#print-glossary(list-b, show-all: true)