Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help translating the Offline\Mall extension #1100

Open
SamBrishes opened this issue Mar 12, 2024 · 0 comments
Open

Help translating the Offline\Mall extension #1100

SamBrishes opened this issue Mar 12, 2024 · 0 comments

Comments

@SamBrishes
Copy link
Collaborator

SamBrishes commented Mar 12, 2024

Hello,

during a small coding-session, I wrote a small translation tool, providing a simple yet powerful GUI to translate OFFLINE\Mall (and theoretically also other extensions) with ease and tailwind-flavoured-style.

Screenshot

localhost_3005_

Features

1. See current translation state

image

2. Switch between the different translation files ... and translate the single strings

image

3. Show Code-References where the locale keys are used

image

4. Dark Mode, of course

localhost_3005_ (1)

Installation Guide

The current version requires node.js v18+ and PHP v5.4+ installed on your computer. If that's the case, just do a simple

npm i

within the plugins/offline/mall root directory to install the required development-dependencies. Then start the development server and vite process using

npm run translate

Now you can access the translation GUI by visiting http://localhost:3005 (not 3006, that's just the VITE asset server).

Warning

This Translation tool has not been expensively tested yet, thus some bugs or performance issues may still occur. I'd love to here from you, to get this tool as stable and usable as possible.

Also keep in mind, that changes done within the interface are written directly to the PHP files. So you should back-up / git your files in case of an emergency... deletion. or something.

~ Sam

@SamBrishes SamBrishes pinned this issue Mar 12, 2024
@SamBrishes SamBrishes changed the title [WIP] Translation UI-Tool - Translation made easy Help translating the Offline\Mall extension Mar 30, 2024
@tobias-kuendig tobias-kuendig unpinned this issue Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant