Socket
Socket
Sign inDemoInstall

pui9-translations

Package Overview
Dependencies
0
Maintainers
1
Versions
2987
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pui9-translations

PUI9 Translations


Version published
Weekly downloads
219
decreased by-17.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

PUI9 Translations Library

This library provides the PUI9 translations based on vue-i18n.

Installation

npm install pui9-translations

And then import and use it:

import Vue from 'vue';
import VueI18n from 'vue-i18n';
import * as deepmerge from 'deepmerge';

import enPui from 'pui9-translations/translations/en.json';
import esPui from 'pui9-translations/translations/es.json';

import enApp from './en.json';
import esApp from './es.json';

const en = deepmerge.all([enPui, enApp]);
const es = deepmerge.all([esPui, esApp]);

Vue.use(VueI18n);

export default new VueI18n({
	locale: 'es',
	fallbackLocale: 'es',
	silentFallbackWarn: true,
	messages: { en: en, es: es }
});

FAQs

Last updated on 20 Nov 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc