import { getLocaleOnServer, useTranslation as translate, } from '@/i18n/server' type DescriptionProps = { locale?: string } const Description = async ({ locale: localeFromProps, }: DescriptionProps) => { const localeDefault = await getLocaleOnServer() const { t } = await translate(localeFromProps || localeDefault, 'plugin') const { t: tCommon } = await translate(localeFromProps || localeDefault, 'common') const isZhHans = localeFromProps === 'zh-Hans' return ( <>