FamilySearch / gedcom5-java

Gedcom parsers
Apache License 2.0
68 stars 41 forks source link

Translation of EventFact display types #20

Open michelesalvador opened 3 years ago

michelesalvador commented 3 years ago

I'm developing the Family Gem app, that is strongly based on this amazing Gedcom parser. Family Gem at the moment is translated in 10 languages and growing.

Obviously a core feature of Family Gem is to add events and facts to persons and families. The "display type" of each event/fact is taken from EventFact.java (e.g. "Birth" is the display type for BIRT). These display types are hard-coded in English, and unfortunately no translation system is provided by the Gedcom parser.

Of course inside Family Gem I could filter the English display type and replace it with a translation.. But wouldn't it be great if a translation of display types was provided inside Gedcom, available for all the users of the library?

stoicflame commented 3 years ago

Hi.

Sure, thanks for your work. Do you want to put together a pull request that captures how you propose the code manages those display types?