Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

288 B
Raw Blame
import { useLocale } from '#i18n'
import { getModelLanguage, renderI18nObject } from '@/i18n/metadata'

export const useRenderI18nObject = () => {
  const language = getModelLanguage(useLocale())
  return (obj: Parameters<typeof renderI18nObject>[0]) => renderI18nObject(obj, language)
}