Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.
 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babel plugin jsx-i18n-tag-translate-replacer

Install:

  1. npm i --save @babel/plugin-jsx-i18n-tag-translate-replacer
  2. add @babel/plugin-jsx-i18n-tag-translate-replacer to list of babel plugins

About

replace <translate>xxx</translate> to {t('xxx')} and <div translate>xxx</div> and plural form also, see ast example

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages