https://github.com/evilfreelancer/translation-key-helper
Laravel plugin for displaying translation key inside HTML comments nearby translated text strings
https://github.com/evilfreelancer/translation-key-helper
helper laralve package plugin translation
Last synced: 2 months ago
JSON representation
Laravel plugin for displaying translation key inside HTML comments nearby translated text strings
- Host: GitHub
- URL: https://github.com/evilfreelancer/translation-key-helper
- Owner: EvilFreelancer
- License: mit
- Created: 2020-01-11T18:39:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T14:37:49.000Z (almost 6 years ago)
- Last Synced: 2025-02-09T15:15:37.170Z (11 months ago)
- Topics: helper, laralve, package, plugin, translation
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Translation Key Helper
Laravel plugin for displaying translation key inside HTML
comments nearby text strings.
composer require evilfreelancer/translation-key-helper --dev
Please use this plugin only on development environment.
## Example of usage
After installation of this plugin you can find lines like this in HTML source code on your site:
```html
```
### Note
If you use VueJs, then you need to allow comments inside the div#app block
```js
const app = new Vue({
el: '#app',
comments: true, // When set to true, HTML comments found in templates will be saved and rendered. Default: false
});
```