Translations

This forum is meant for questions and discussions about the X# language and tools
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Translations

Post by FFF »

Jurai,
thx for sharing. Followed your steps, and panicked, as i saw in the first lines "invalid search syntax" - until i realized, that this IS the "real" string ;)
Now, if someone would enhance this little app to actually allow to edit and wright back the corrected strings, it would be ultimately useful...
I wonder, how you managed to work in VS. Opening the generic.resx, it complained about a missing "=" and offered no further help. Made a copy of the file, renamed to generic.xml, this get's opened, but complains about a ton of "missing closing attribute". Maybe my download was faulty, but why then your tool digests it without a problem?
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
robert
Posts: 4518
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Translations

Post by robert »

Dick,
Don't translate the DOS error messages. We'll read these from the OS.
I think these are still in the list because they existed in Clipper and in the (early) Clipper days there was no OS support to retrieve the error text for an error number.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Translations

Post by FFF »

Ok, got me XML-Notepad 2007 from MS - guess what, the same error in both German.resx as in Generix at line 44 Pos 91 - expected "=", got ">".

I'm all willing to help, but, please a hint at where to look at all.

Karl
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
robert
Posts: 4518
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Translations

Post by robert »

Karl,
You are editing the file as it is displayed in the browser.
You need to download the "raw" file:
https://raw.githubusercontent.com/X-Sha ... neric.resx
https://raw.githubusercontent.com/X-Sha ... erman.resx
The contents of the file should start with "<?xml"
Your file most likely starts with "<!DOCTYPE html>"

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Translations

Post by Juraj »

Hi Dick,

in my PC wokr app OK with Dutch.resx. If the lines are empty, you need to scroll up to 10% of the lines, as shown in the attachment.

Juraj
Attachments
Dutch.png
Dutch.png (299.08 KiB) Viewed 783 times
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Translations

Post by Juraj »

Hi FFF,
open VS, select NEW, select File, select XML. Copy and Paste content resx file into xml file in VS.

Juraj
Attachments
VSXMLFile.png
VSXMLFile.png (107.74 KiB) Viewed 783 times
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Translations

Post by ic2 »

Replying on 9981


Hello Juraj,
hsc wrote:
in my PC work app OK with Dutch.resx. If the lines are empty, you need to scroll up to 10% of the lines, as shown in the attachment.
/quote]

It's not a visibility problem. My screen looks like yours, it shows + Dutch.resx, the green bar, but the whole TextNat is empty. Only IDGEN + TextGen are filled

Only thing I can think of is that my Dutch.resx is somehow incorrect. Could you maybe upload the one you used?

I'll let you know then.

Dick
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Translations

Post by Juraj »

Hi Dick

My Dutch.resx is in attachment

Juraj
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Translations

Post by Juraj »

Dutch,resx in zip
Attachments
Dutch.zip
(50.83 KiB) Downloaded 98 times
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Translations

Post by FFF »

hsc wrote:Hi FFF,
open VS, select NEW, select File, select XML. Copy and Paste content resx file into xml file in VS.
Juraj,
thx, the problem was i didn't had the "raw"- after using Robert's links, i can now simply drop the resx files onto VS editor and get something sensible ;)
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Post Reply