Code Monkey home page Code Monkey logo

quick-translate's People

Contributors

fhammerschmidt avatar sprachgewitter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sprachgewitter

quick-translate's Issues

Possible improvements

  • Make buttons more visually appealing
  • Support description field at least in source.
    • Show via hover tooltip?
  • Make it clearer which part of the GUI is the source and which are the targets

Config view

Possible config parameters:

  • encoding (offer at least utf-8 and ISO 8859-1) utf-8 is fine (properties files are fixed to ISO 8859-1)
    • this one is only necessary for properties files, which are ISO 8859-1 in Java 8 or lower, but UTF-8 in Java 9 or higher.
  • CSV: separator
  • Json: keys for id, defaultMessage, description

Store and keep config in localStorage

Translations for ids not existing in source files are silently removed

When a target file has existing translations for ids that have since been removed from the source file (or maybe renamed there), these translations will be silently removed.

It would be nice to inform the user about this and/or still show these old translations somewhere for inspecting or copying.

Tests!

Add a basic test runner, primarily to test all the file conversions end-to-end:

e.g. Input.json --> to DataSheet --> to Output.json --> check if Input & Output are equal
or Input.json --> to DataSheet --> mutate some text --> to Output.json --> check if equal besides the changed strings

Project mode

An idea to not need to rely on a translation memory but still be able to use the same translations for the same words automatically over multiple files.

  • First, implement logic to auto-translate strings which already occured somewhere else
  • Second, allow to import whole folders, or (as the heuristics may be weird) use a small config file
  • Third, have tabs for the different sections (as in Excel)

Dialog prompt

Use a nice dialog instead of window.prompt/window.confirm

Validate intl values

If a source message contains a {value}, check whether it is also there in each translation message.
The hard part is to also support plural rules because of curly bracket nesting.

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.