dnn-connect / dnn-translator Goto Github PK
View Code? Open in Web Editor NEWDNN Translator helps you translate resource files in DNN
DNN Translator helps you translate resource files in DNN
Enable search and a list of all keys, where the list is filtered on a specific text in the text of the key (in either the en-US part or the translated text you are working on).
Logs:
Log Name: Application
Source: Application Error
Date: 29/01/2024 22:40:38
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User: x
Computer: x
Description:
Faulting application name: Translator.exe, version: 1.4.1.0, time stamp: 0x65b778b1
Faulting module name: KERNELBASE.dll, version: 10.0.22621.2792, time stamp: 0x3091b6fb
Exception code: 0xe0434352
Fault offset: 0x000000000006567c
Faulting process id: 0x0x1B38
Faulting application start time: 0x0x1DA5304253C59DD
Faulting application path: E:\DNNTranslation\Translator.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 5fe44fe5-b676-46ac-a4a7-7ba090b909f4
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
1000
0
2
100
0
0x8000000000000000
24854
Application
XZTech
Translator.exe
1.4.1.0
65b778b1
KERNELBASE.dll
10.0.22621.2792
3091b6fb
e0434352
000000000006567c
0x1b38
0x1da5304253c59dd
E:\DNNTranslation\Translator.exe
C:\Windows\System32\KERNELBASE.dll
5fe44fe5-b676-46ac-a4a7-7ba090b909f4
Log Name: Application
Source: .NET Runtime
Date: 29/01/2024 22:40:38
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: XZTech
Description:
Application: Translator.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NotSupportedException
at System.Reflection.RuntimeAssembly.nLoadFile(System.String, System.Security.Policy.Evidence)
at System.Reflection.Assembly.LoadFile(System.String)
at DotNetNuke.Translator.Common.ProjectSettings..ctor(System.String)
at DotNetNuke.Translator.ViewModel.MainWindowViewModel.OpenLocation(System.String)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at DotNetNuke.Translator.Application.Main()
Event Xml:
1026
0
2
0
0
0x80000000000000
24853
Application
x
Application: Translator.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NotSupportedException
at System.Reflection.RuntimeAssembly.nLoadFile(System.String, System.Security.Policy.Evidence)
at System.Reflection.Assembly.LoadFile(System.String)
at DotNetNuke.Translator.Common.ProjectSettings..ctor(System.String)
at DotNetNuke.Translator.ViewModel.MainWindowViewModel.OpenLocation(System.String)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at DotNetNuke.Translator.Application.Main()
@donker for greater discoverability, could you add the subject topics to this repo?
Field forward with Tab works, Shift-Tab not
It would be great if the tool did the same process that the builtin language translator tool in DNN for removing keys in the translated file that are not available anymore in the source resx file.
After downloading and installing v1.4 on Win10, I attempted to create a new project by pointing the app to the root folder of a fresh install of DNN 9.10. The application shuts down immediately leaving the following two messages in the Event Viewer:
Application: Translator.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NotSupportedException
at System.Reflection.RuntimeAssembly.nLoadFile(System.String, System.Security.Policy.Evidence)
at System.Reflection.Assembly.LoadFile(System.String)
at DotNetNuke.Translator.Common.ProjectSettings..ctor(System.String)
at DotNetNuke.Translator.ViewModel.MainWindowViewModel.OpenLocation(System.Object, System.ComponentModel.DoWorkEventArgs)
at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)
Exception Info: System.Reflection.TargetInvocationException
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at DotNetNuke.Translator.ViewModel.MainWindowViewModel.OpenNewCompleted(System.Object, System.ComponentModel.RunWorkerCompletedEventArgs)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at DotNetNuke.Translator.Application.Main
Faulting application name: Translator.exe, version: 1.4.0.0, time stamp: 0x5ec2ff12
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1566, time stamp: 0x0833f2d4
Exception code: 0xe0434352
Fault offset: 0x0000000000034f69
Faulting process id: 0x59c0
Faulting application start time: 0x01d84364828d218d
Faulting application path: C:\Program Files\DNN Community\DNN Translator\Translator.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: b5735576-1590-4d3f-b4d3-f4abeabeb74e
Faulting package full name:
Faulting package-relative application ID:
Any help you can offer would be most appreciated.
The ">" that I enter in the text, is translated into ">"
Is that correct?
Depending on the resolution I find the font size used for the text on the grids too small and difficult to read.
Provide a configuration setting to allow configuring the font size.
On large files it's a bit difficult sometimes to find the specific key you want to translate. So it would be very interesting to have a filter option that would allow to show only the keys that match the searched text.
Enable simple content duplicate per key from the en-US version to my localized version, eg. for easy copy URL's
Fork, Clone, open .sln with VS2019, build. Does not build, because of errors:
Error BC30002 Type 'ZipOutputStream' is not defined. Translator C:\DDrive\Develop\GitHub\DNN-Translator\Services\Packing\LanguagePack.vb 57 Active
And several warnings
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.