Maybe you can find the directory relative to Sys.BINDIR, which is the full path to the directory containing the julia executable:
joinpath(Sys.BINDIR, "..", "share", "julia")
Perhaps you can extract from DEPOT_PATH. See Constants · The Julia Language
first(DEPOT_PATH)