Corrects translation errors in programming docs by replacing code tags with span tags, enhancing readability.

Latest Version

Version
2.2
Update
January 2, 2024
Size
14.51KiB
Developer
Category
Users
230
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
日本語
See more
Permissions
Storage
See more

CodeToSpan for Translation Extension

Target Users:
Programming learners, particularly those who need to read programming documentation in English but are not as proficient in English as their native language.

Features:
When learning programming, automatic translation of documents often encounters difficulties. This extension, by replacing code tags with span tags, corrects layout distortions and translation inaccuracies caused by web pages' code tags.

Therefore, when used in conjunction with general web page translation services, it simplifies the understanding of programming documentation pages.

Usage:
When enabled, this extension automatically replaces code tags with span tags upon page load or changes, enhancing the quality of translation. (Note 1)

From the extension's popup, you can toggle the execution/stop of this feature. (Note 2)

Options Page:
In web pages with special notations, this extension might occasionally cause layout disruptions. Adjusting settings in the options page may help mitigate these issues.

Exceptionally, when using natural language AI for code generation, it is recommended to register exclusion domains. (Note 3)

This extension may potentially cause errors in the hydration process, as the rewriting of HTML leads to inconsistencies between the server-side and client-side HTML structures.

If you experience unresponsiveness in button clicks or links, disable the extension and reload the page.

Additional Notes:

1. After installing the extension or changing option settings, reloading the tab is required.
2. Toggling the Run/Stop will automatically reload the page.
3. Web pages that automatically add code tags (such as those using natural language generation AI) may experience reduced performance or instability.

GitHub:
https://github.com/devInui/CodeToSpan

Release notes:
https://github.com/devInui/CodeToSpan/blob/master/RELEASE.md
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "CodeToSpan for Translation", "version": "2.2", "default_locale": "en", "description": "__MSG_Description__", "icons": { "128": "code-dog-large.png", "48": "code-dog.png" }, "options_ui": { "page": "options.html", "open_in_tab": true }, "action": { "default_title": "CodeToSpan for Translation", "default_popup": "popup.html" }, "permissions": ["storage"], "content_scripts": [ { "matches": [""], "js": ["content.js"], "run_at": "document_idle" } ]}
Read more

How to download and manually install CodeToSpan for Translation extension for Chrome

Looking for a way to install CodeToSpan for Translation extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install CodeToSpan for Translation extensions manually, this article outlines two simple methods to effortlessly install CodeToSpan for Translation extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download CodeToSpan for Translation extension and manually install through Drag &Drop

If you ever need to manually install a CodeToSpan for Translation extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the CodeToSpan for Translation Extension by clicking the "Download CRX" button on the website.

Look for the CodeToSpan for Translation extension you wish to install. Go to the website and download the CodeToSpan for Translation extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for CodeToSpan for Translation extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the CodeToSpan for Translation extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download CodeToSpan for Translation extension for Chrome and install in Developer Mode

This is another method to install CodeToSpan for Translation extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the CodeToSpan for Translation extension file

Select and download the CodeToSpan for Translation extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the CodeToSpan for Translation extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your CodeToSpan for Translation extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the CodeToSpan for Translation extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install CodeToSpan for Translation extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Cogsworth Extension · Productivity 230 2 ★ 11.86MiB

icon

Tanuki Utilities Extension · Developer Tools 230 1 ★ 25.43KiB

icon

Atfos Extension · Accessibility 230 2 ★ 252KiB

icon

StarterCSS Extension · Developer Tools 230 0 ★ 1.18MiB

icon

Don't translate code! Extension · Accessibility 230 0 ★ 231KiB

icon

Smiley Ogame Extension · Fun 230 1 ★ 28.24KiB

icon

Trello minimal UI toggle Extension · Productivity 230 3 ★ 232KiB

icon

TIO Syntax Highlighter Extension · Productivity 230 2 ★ 491KiB

icon

TimeToCoda Extension · Productivity 230 2 ★ 1.56MiB

icon

Clear Portal Cache Extension · Developer Tools 230 1 ★ 60.0KiB

icon

ReadAnything Extension · Productivity 230 1 ★ 1.05MiB

icon

StackBob Extension · Productivity 230 5 ★ 310KiB

icon

Continue Without Supporting Extension · Productivity 230 2 ★ 46.19KiB

icon

CodeNoCall Extension · Developer Tools 230 4 ★ 25.46KiB

icon

Redense Clip Extension · Productivity 230 0 ★ 68.23KiB

icon

DeepL Code Blocker Extension · Developer Tools 230 2 ★ 3.53KiB

icon

20Q Text Converter with AI Extension · Productivity 230 11 ★ 1.03MiB

icon

Close Notion Tab Extension · Productivity 230 2 ★ 10.84KiB

icon

Github JSON Editor Extension · Productivity 230 0 ★ 517KiB

icon

Serverless Workflow Editor for GitHub Extension · Productivity 230 1 ★ 101KiB

icon

Wave Barcode Generator Extension · Productivity 230 1 ★ 18.24KiB

icon

Albato GPT-Assistant Extension · Productivity 230 1 ★ 567KiB

icon

AuthentiSci Extension · News & Weather 230 0 ★ 160KiB

icon

Remove wpp Web Status Button - UNOFFICIAL Extension · Productivity 230 8 ★ 13.83KiB

User reviews

icon

yuuki u (ID: 0000008233e7ffa7) Voted 5 ★ - Updated 09/23/2024 めっちゃ使いやく、助かっています。 これは開発者さんへというより、これからこの拡張機能を使う人への内容なのですが、scrapbox.io(cosense)ではこの拡張機能をonにするとコードブロック周りが壊れるので、exclude urlにscrapbox.ioを追加することを推奨します。