ngoquocdat I need English language config.js file to translate time into another language Thanks very much
clarkwinkelmann ngoquocdat welcome to Flarum! Can you give us more details on what you are trying to do ? Are you working on your own language pack ? You can probably use other language pack extensions as example.
ngoquocdat I am currently making my own language pack and I do not know where time language translation is
clarkwinkelmann It's possible the language identifier is passed to moment, which already has many languages built in, but I'm not really sure. Best to wait for someone else to answer this. EDIT: actually, I had not looked correctly. The French pack for example seems to contain a config.js: https://github.com/milescellar/lang-french/blob/master/locale/config.js . You probably just need to do the same in your own language pack. The content was likely copied from here https://github.com/moment/moment/tree/develop/locale