Translation files are stored as JSON files in the resources/lang directory. For example, if your marketplace has a Spanish translation, you should create a resources/lang/es.json file:

{
    "I love programming.": "Me encanta programar."
}

*Remember to enable the language in the admin panel (Settings) before translating.