sunilpaulmathew / translator Goto Github PK
View Code? Open in Web Editor NEWAn android application to help translate other apps
License: GNU General Public License v3.0
An android application to help translate other apps
License: GNU General Public License v3.0
java.lang.ArrayIndexOutOfBoundsException: length=33; index=-1 at java.util.ArrayList.get(ArrayList.java:439) at t1.e.onClick(:3) at androidx.appcompat.app.AlertController$c.handleMessage(Unknown Source:37) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.io.Writer.write(Writer.java:157) at z1.j.a(Unknown Source:5) at z1.a.a(:4) at in.sunilpaulmathew.sCommon.Activities.sCrashReporterActivity.onBackPressed(Unknown Source:0) at x1.a.onClick(:3) at android.view.View.performClick(View.java:7455) at android.view.View.performClickInternal(View.java:7432) at android.view.View.access$3600(View.java:810) at android.view.View$PerformClick.run(View.java:28312) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
The current search and replace functionality helps a lot when translating some strings. It would be even more powerful if users could further specify search queries using regular expressions.
This would be very useful, for example when you want to replace whole words, but not words that merely contain the search string:
Regex often offers \b
as an option to delimit strings as words. The regular expression \bexam\b
would therefore find a match in custom exam questions:
, but not in see this example:
.
I'm sure that also offering a regex search for the search-and-replace feature would have even more use cases than the one I've described. Users with regex knowledge could greatly profit from it and refine their search results to those that they've envisioned.
Hello,
it is unfortunate that there is no menu or button to copy the source text to the clipboard for each translation item.
App Name: The Translator
Package Name: com.sunilpaulmathew.translator
App Version: v0.17
SDK Version: 29
Crash Report
java.lang.ArrayIndexOutOfBoundsException: length=366; index=-1
at java.util.ArrayList.get(ArrayList.java:439)
at t1.e.onClick(:3)
at androidx.appcompat.app.AlertController$c.handleMessage(Unknown Source:37)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7389)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
Steps to reproduce the issue:
Often times it is useful to also be able to see the original string after it was translated.
At the moment, after a translation string is translated and the list of translation strings is redrawn (for example by entering and leaving the options overflow menu), there's no easy way to see what see what the original string was or to recheck whether the entered translation fits the given string.
A way to tackle this request could be by showing the original string above the textbox used for setting the translation string, instead of just prefilling the textbox with the original string.
When searching a string, other strings it's deleting and I can't go back (Android 13)
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Iterator java.util.ArrayList.iterator()' on a null object reference
at l2.l.c(SourceFile:8)
at k2.p$d.a(Unknown Source:6)
at androidx.activity.b.run(SourceFile:522)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
One of the strings of this app contains illegal characters, except I believe they are correct:
Some character\'s are considered illegal in \'xml\' format and are not acceptable! Please be noted that the entire text will be neglected (or even app crashes in the worst case) when an illegal character is detected!\n\nSome of the prohibited character\'s includes, but not limited to\n& - except for certain words\n< and > -except for certain cases such as <b>, </b>, <i>, </i> etc.\nSingle (\') or double (\") quotation marks without a backward slash (\\) in the front, etc.
The issue seems to be with >b<
. This prevents me from translating it properly. Are you interpreting it twice?
How about making all characters legal and escaping when saving the string instead? That would be much less confusing for translators.
I want to translate this app to Esperanto, but i don't know how to submit it to you when i done.
Within the search and replace feature, the textbox placeholder hint is styled the same way as the input. Placeholder hints in textboxes are often stlyed more subtly than the input, so users can distinguish between the two.
Setting the placeholder text style to a dimmer color, and/or using italics, would make the distinction between placeholder and input text more clear.
Good app, but there is an option missing that would help a lot for those who are translating, showing the string above the text to be translated, as it only shows the text to be translated, in cases where there is doubt in the translation because the string is not visible, we lose the visibility of information that could help us decide the correct translation
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.