Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@edx/course-app-translation-plugin

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edx/course-app-translation-plugin

Translation configuration plugin for unit title in frontend-app-course-authoring

  • 0.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

UnitTranslationPlugin

Translation selector plugin for unit title in frontend-app-course-authoring

Hosted project

frontend-app-course-authoring::env.config.jsx

import {
  PLUGIN_OPERATIONS,
  DIRECT_PLUGIN,
} from "@openedx/frontend-plugin-framework";
import WholeCourseTranslationPlugin from "@edx/course-app-translation-plugin";

// Load environment variables from .env file
const config = {
  ...process.env,
  pluginSlots: {
    additional_course_plugin: {
      plugins: [
        {
          op: PLUGIN_OPERATIONS.Insert,
          widget: {
            id: "whole-course-translation-plugin",
            type: DIRECT_PLUGIN,
            priority: 1,
            RenderWidget: WholeCourseTranslationPlugin,
          },
        },
      ],
    },
  },
};

export default config;

frontend-app-learning::module.config.js

module.exports = {
  localModules: [
    {
      moduleName: "@edx/course-app-translation-plugin",
      dir: "../src/frontend-plugins/packages/course-app-translation-plugin",
    },
  ],
};

FAQs

Package last updated on 21 Oct 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc