import { getRequestConfig } from 'next-intl/server'
import type { AbstractIntlMessages } from 'next-intl'
import faMessages from '../../messages/fa.json'

export default getRequestConfig(async () => {
  const locale = 'fa'

  return {
    locale,
    messages: faMessages as AbstractIntlMessages
  }
})
