
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
arjan-translate
Advanced tools
Arjan translate is a localization and translation solution for static websites that works on any html single page or multipage site. It autamitacally creates json locale files for each of your site's versions and it uses AWS's neural machine translation service to render translations in up to 54 different languages. for more info. check out AWS tarnslate
AWS local profiles are stored in ~/.aws/credentials in mac/linux or in C:\Users\USER_NAME.aws\credentials in windows. Create/edit this file by runing sudo nano ~/.aws/credentials then add the profile keys in the format shown bellow.
[profilename]
aws_access_key_id = <YOUR_ACCESS_KEY_ID>
aws_secret_access_key = <YOUR_SECRET_ACCESS_KEY>
npm i arjan-translations
If you are translating a single page static website, the index file should be named with its language code, for example en.html instead of being called index.html
For multi page static sites the origin folder should be named with its language code, for example /en
const arjanTranslate = require('arjan-translate')
//REGION is the AWS region of your IAM role ex. 'use-east-1'
//PROFILE is the name of your desired AWS IAM profile ex. 'deafult'
arjanTranslate.Build('REGION', 'PROFILE', function(err, data){
if(err) console.log(err)
else {
//FROM is the language code of your origin file ex. 'en'
//TO is the language code of your destination file ex. 'es'
arjanTranslate.TranslateSite('FROM', 'TO');
}
})
FAQs
uses AWS translations to parse website and translate text
We found that arjan-translate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.