Giter Site home page Giter Site logo

enzdev / idea-ngx-translate-autocomplete Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 5.0 1.84 MB

An IntelliJ plugin for Angular projects that uses ngx-translate or transloco.

Kotlin 100.00%
intellij-plugin i18n jetbrains intellij ngx-translate translation transloco

idea-ngx-translate-autocomplete's Introduction

Hi there, I'm Enzo Mallard ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m a full stack developer with heavy preferences on a few tools
  • ๐ŸŒฑ Iโ€™m currently learning Rust
  • ๐Ÿ“ซ Reach me on Discord enzouille or via mail contact[at]enzomallard.fr
  • ๐Ÿค” Iโ€™m looking for help with my Intellij plugin for ngx-translate
  • ๐Ÿ–ผ I've made a fun website with thousands of randomly (to a certain extent) generated images :)

idea-ngx-translate-autocomplete's People

Contributors

actions-user avatar dependabot[bot] avatar enzdev avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

idea-ngx-translate-autocomplete's Issues

Crash

Intellij Crashes when opening Settings.. -> Tools -> NgTranslate Toolset

"Build #IU-221.5921.22, built on June 21, 2022"

Crash log:

Cannot create configurable

com.intellij.diagnostic.PluginException: Cannot load class fr.enzomallard.ngxtranslatetoolset.configuration.NgTranslateToolsetConfigurable (
error: fr/enzomallard/ngxtranslatetoolset/configuration/NgTranslateToolsetConfigurable has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0,
classLoader=PluginClassLoader(plugin=PluginDescriptor(name=NgTranslate Toolset, id=com.github.enzdev.ideangxtranslateautocomplete, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2022.1\plugins\idea-ngx-translate-autocomplete, version=0.1.3, package=null, isBundled=false), packagePrefix=null, instanceId=356, state=active)
)

2022.3 support

The plugin works with JetBrains products up to version 2022.2.4.
Version 2022.3 is currently not supported.

How to actually set up? Readme is not granular enough imo.

I just downloaded the plugin and played around with different settings. All keys are marked red as in "cannot resolve" in my code. I set up the folder and pointed to the specific JSON with the current translation in the settings but that didn't work. One comment on the JetBrains plugin website suggests you need to mark the translation folder as "resource" folder but neither was that stated anywhere in the readme nor did that do anything for me.

My current settings are:

  • Absolute path to my src/assets/i18n folder as "Translation folder",
  • Absolute path to my actual json file in that folder as "Displayed translation".

I also tried just putting in the file name for the second one but that didn't work. As well as marking the whole assets folder or just the i18n folder as resource. Still nothing.

Is it possible to add several directories?

Discussed in #80

Originally posted by ParsaArvanehPA August 16, 2022
Hi,
I was wondering is it possible to add several directories containing json files?
The project I'm working on is made of more than 10 application, and each have their own i18n directory.

Translation folding

Implements a fold that replace the 'KEY' | translate into the actual translation using preferred language.

[FEATURE-REQUEST] inline blame a like

Hey @EnzDev
Thank you for the plugin. I'm really impressed by the work you did. It makes the development experience much much easier. Especially with huge HTML files!

Is it possible to add a feature like a git inline blame plugin?
git inline blame
(git inline blame)
And as a WebStomr user, I should choose the preferred language shown next to the current line.

Thank you.

2023.3.1 support

The plugin works with JetBrains products up to version 2023.2.
Version 2023.3.1 is currently not supported.

extract static text to translation file

Hey @EnzDev
Thank you AGAIN for the amazing work!
This plugin is a time saver! And it's amazing how it's improved our developing journey & productivity.

I came across this case today, where I have an untranslated HTML file that I must translate to the 3 supported languages we have in the project. So I wish if there is a way that let me highlight the text & show me a prompt to generate a translation key.

image
after clicking on generate:

image

Thank you so much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.