How does one write fiction about a specific culture or tradition?

The Peranakan Phoenix. Image sourced How does one write a short story or heck, even novels based...