
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@innoways/front-gima-locale
Advanced tools
npm config set @innoways:registry https://artifactory.a4apple.cn/artifactory/api/npm/npm-challenge
npm i @innoways/front-gima-use-locale @innoways/react-intl-universal
import useLocale, {LOCALES_LIST} from "@innoways/front-gima-use-locale";
import intl from '@innoways/react-intl-universal';
export const App = () => {
const [localeInitialized, currentLocale, setCurrentLocale] = useLocale(
'https://t.17ch.cn/locales', // locale files url prefix
'workflow', // specified sub-app
'irms' // company code
);
const localeSelector = (
<select
onChange={(e) => setCurrentLocale(e.target.value)}
value={currentLocale}
>
{LOCALES_LIST.map((locale) => (
<option key={locale.value} value={locale.value}>
{locale.label}
</option>
))}
</select>
);
if (!localeInitialized) {
// 语言没加载先不渲染,或者渲染一个 Loading
return null;
}
return (
<div>
{localeSelector}
<div><button className='btn btn-blue'>{intl.get('login')}</button></div>
<div>{intl.get('welcome', { name: 'Tony', where: 'Innoways' })}</div>
<div>{intl.get('login.wrong_companycode')}</div>
</div>
);
};
import useLocale from '@innoways/front-gima-use-locale';
import intl from '@innoways/react-intl-universal';
export const App = () => {
const [localeInitialized] = useLocale(
'https://t.17ch.cn/locales',
'workflow',
'irms'
);
if (!localeInitialized) {
// 语言没加载先不渲染,或者渲染一个 Loading
return null;
}
return (
<div>
<div><button className='btn btn-blue'>{intl.get('login')}</button></div>
<div>{intl.get('welcome', { name: 'Tony', where: 'Innoways' })}</div>
<div>{intl.get('login.wrong_companycode')}</div>
</div>
);
};
import intl from 'react-intl-universal';
<div><button className='btn btn-blue'>{intl.get('login')}</button></div>
<div>{intl.get('welcome', { name: 'Tony', where: 'Innoways' })}</div>
<div>{intl.get('login.wrong_companycode')}</div>
More usage examples: https://fe-tool.com/react-intl-universal
FAQs
Unknown package
We found that @innoways/front-gima-locale demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.