Code Monkey home page Code Monkey logo

oxid-translate's Introduction

Oxid translate

Description

Display all frontend language files and give the oppotunity to modify the values. After save the values and refresh the language cache, the module override the language values in the language file. The value in the language file will not modify.

Install

  1. Copy files into following directory

     source/modules/rs/translate
    
  2. Add following to composer.json on the shop root

     "autoload": {
         "psr-4": {
             "rs\\translate\\": "./source/modules/rs/translate"
         }
     },
    
  3. Refresh autoloader files with composer.

     composer dump-autoload
    
  4. Execute following SQL statment

     CREATE TABLE `rs_translate` (
      `oxid` char(32) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
      `rs_file_id` char(32) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
      `rs_lang_id` int(10) NOT NULL DEFAULT '0',
      `rs_lang_key` varchar(250) DEFAULT NULL,
      `rs_lang_value` varchar(2000) DEFAULT NULL,
      `rs_created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
      `rs_updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
      PRIMARY KEY (`oxid`),
      KEY `rs_file_id` (`rs_file_id`),
      KEY `rs_lang_id` (`rs_lang_id`),
      KEY `rs_lang_key` (`rs_lang_key`)
     ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
  5. Enable module in the oxid admin area, Extensions => Modules

oxid-translate's People

Contributors

thomasjanda avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.