🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@edx/course-app-translation-plugin

Package Overview
Dependencies
Maintainers
4
Versions
18
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.6.3
latest
Source
npm
Version published
Weekly downloads
43
-6.52%
Maintainers
4
Weekly downloads
 
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 29 May 2025

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