jutzig / jabylon Goto Github PK
View Code? Open in Web Editor NEWComputer aided translation tool for java
Computer aided translation tool for java
Uploading a new property file though the REST API does not work on newly created empty projects.
The server returns Internal Server Error 500 for requests like this:
http://example.org/jabylon/api/emptyProject/master/template/directory/messages.properties
Create a script that allows us to start and stop the jabylon instance
A few things are needed:
Launch config specialties:
Coding guidelines / preferences:
Should be possible to use the keyboard to navigate to the next/previous property entry.
@svogt
We need a running jabylon instance for demo purposes...
Karaf seems like a great match for Jabylon. It would make sense to work on a Karaf based distribution
@svogt
Give users access to their user configuration to enter full name, email, gravatar image, preferences....
currently the team providers do not commit property changes
editing translations in the editor is currently difficult, because the databinding often causes the focus to jump which messes with the editing
The basic error is:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/sascha/dev/git/jabylon/de.jutzig.jabylon.scheduler/src/main/java/de/jutzig/jabylon/scheduler/SchedulerActivator.java:[27,25] error: type ServiceReference does not take parameters
Might be related to http://stackoverflow.com/questions/10911231/how-to-compile-mavenized-osgi-4-3-bundle-with-openjdk-7
Jabylon needs pluggable support for jobs to be executed on a regular basis (e.g. cron syntax).
See output of:
https://demo-jabylon.rhcloud.com/jabylon/api/jboss-as?depth=4
"percentComplete":100,"location":"/xts/src/main/resources/org/jboss/as/xts/LocalDescriptions.properties","keys":6,propertyFile:}
Should be either
"percentComplete":100,"location":"/xts/src/main/resources/org/jboss/as/xts/LocalDescriptions.properties","keys":6}
or
"percentComplete":100,"location":"/xts/src/main/resources/org/jboss/as/xts/LocalDescriptions.properties","keys":6,"propertyFile":{}}
We need a log viewer that allows sorting, filtering and browsing through log entries. Optionally we it could also allow to configure the logger.
@svogt
Newly created properties in UNICODE mode miss a BOM
Implement a terminology project to create a glossary of commonly used terms.
Use -data to configure the actual workspace. The rest of the constants can remain constants
Limit the table column width of the translation table to a reasonable size. Currently it scrolls indefinetly if there is extremely long strings to tranlsate.
When searching in a broad scope (workspace) the search result should have sortable columns for project, version, and so on
Implement activity stream overview to visualize who's translating what
Using the REST API, upload a new translation file which currently does not exist, in a language which has not yet been created for the project. The upload appears to succeed (200 OK), but neither the language nor the file becomes visible.
After that, upload the template file. Now the language and file become visible, but in the new language the same file is displayed twice.
for people that want to deploy jabylon into an existing servlet container we should offer a WAR based distribution that works with servlet bridge
@svogt
Currently the shell script doesn't shut down jabylon gracefully. Need a shutdown hook to properly close the framework and possibly wait for pending jobs to finish
When creating a new locale on an existing project (that already has some property files), the newly created language does not contain any property files.
It doesn't matter if the language is created through the UI, or the API.
Clicking on a locale in the master version currently produces a breadcrumb like
Home » BICNG » BICNG » Deutsch (Deutschland)
Currently it's only possible to upload template files with the API.
It should also be possible to upload locale specific files, given the matching template file exists
currently authentication is done only via internal DB. Implement an LDAP connector
Implement Pull/Merge functionality in the Git Team Provider and wire it with partial scanning according to newly added/modified files
currently the team providers can only check out, not update
fixed with task 36
Need a scheduled reorg job to clean up the lucene search index
Terminology tool should support combined terms like
data element description = Datenelement-Beschreibung
Add sort functionalities to the different tables. e.g.
allow API functionality to upload property files into existing projects
Allow annotations in property comments and an extension point to parse such annotations.
This can be used for example to mark a property as non-translatable and then ignore it in the checks and completion.
example:
#some comment
# @non-translatable(author="username")
property.key = property value
Users should be able to review a translation or make suggestions.
Often a key gets removed from the master language, but the translatation does not get updated. Add an automatic job to remove these no longer existing translations
Currently the localization is depending on the system locale.
Rewrite the message accessors to pick the right resource bundle for the current user.
Currently the Maven build uses the platform encoding, but we have some files which are in UTF-8.
Provide an action either in the properties editor or the table that lists all property files to mark a file as non-translatable (delete it from the list of descriptors)
It is possible that a unicode properties file still contains unicode escapes \uXXX even though they are technically not needed.
To support this, the escaping in the PropertyHelper should be enabled for reading, but not for writing.
That will ensure that the property file is read correctly and gets cleaned when safed again.
Support full text search on keys, comments and values
This should also adjust itself to the current scope, i.e.
If you create a new locale and add the first translation (e.g. fr as locale) the generated .properties is called name_<masterlocale>_<newlocale>.properties...
<masterlocale> needs to be stripped from the name
When a project contains directories with spaces everything breaks.
Try org.eclipse.ant.ui from :pserver:[email protected]:/cvsroot/eclipse to reproduce
there is currently no convenient way to edit the terminology template
give users the ability to create a new account on their own (if not disabled by the admin)
If a template locale is set (e.g. messages_en.properties as the template) all derived resources appear twice in the UI after the initial scan.
The team provider update fails with an NPE if the Diff contains file removals.
Instead of an untyped list of file paths, the diff list should contain objects that include path, and change kind.
That way the scanner can be optimized and the NPE fixed.
Currently there is only one automatic action (auto-translate) active. Unfortunately it is not visible what and where things have been changed.
Create a UI for that kind of things and also make these action configurable (automatic, semi-automatic, off).
In semi-automatic the job should search for all property items to change and display them with a checkbox, if that particular item should be changed.
Currently only individual files can be downloaded. It would be nice if it would be possible to use the ?type=file parameter also on complex objects like branch, project or locale which will then create a ZIP archive with all properties.
provide a shortcut in the editor to quickly add some term to the terminology project (if available)
the rest API should allow downloading property files instead of the JSON output
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.