Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Dual language view /edit - translation localization and more tool
Avatar
Samana Johann #1
Member since Jun 2018 · 123 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Subject: Dual language view /edit - translation localization and more tool
Valued DW-team and user,

of course my person does not really know of what it would take:

It would be possible of much support in regard of translations, but not ending there, if there is a possibility to display/view two language of a certain page, possible also to edit one language while the second language would be displayed in another column.
Avatar
Michaelsy #2
Member since Jun 2015 · 567 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
On a desktop computer, this function can be achieved by positioning two browser windows next to each other.

Regards - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
Samana Johann #3
Member since Jun 2018 · 123 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Sure an alternative, Mr Micheal, and surely just interesting for those into translation, localization and study, and may it be pardoned that certain topics had been raised.

Appreciation for all patient and generosity that arose.
Avatar
ach (Administrator) #4
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Knowing the use case would be helpful. You give us the solution but we might be able to help more if you gave us the needs.

I can think of two things but I'm sure there must be more ways of doing it.

Depending on the size of the text to be translated, it could be done with a table or columns (for example using the Wrap plugin) and simply writing one language in the one and another in the other column. Although invisible, it would be quite important for search engines and screen readers, etc to set the language for each bit via the lang attribute, which can also be done with the Wrap plugin (e.g. <WRAP :en>This is English.</WRAP>).

Something which can show a translation nearly alongside a text could be done with the Editions plugin. It's not quite what you asked and it's really very specific to different editions of the same text. But as I don't know your use case, it could work.
Avatar
Samana Johann #5
Member since Jun 2018 · 123 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Mr. Ach,

appreciation for your hints.

The thought is more based on building up on plugin like translate. Edition is actually very similar to it.

If doing and focus on "localization" or if wishing to understand the meaning of a text, it's useful to display, read, "original text" and this or that translation.
When translating it's useful to have the source parallel, scroll while strings, similar like in the comparison view, are on same position.

The certain htlm-solutions, limited to view and would require to put all translations into one page, is no useful way, given it's about tons of text.

As dokuwiki itself has much interest in localization, the team knows the situation, it was thought to be of interest to go after such.

It might work somehow like the comparison view with possible access to modify a string or section for translation easy.
Translations, the certain language, chosen in the dropdown menu might allow the selection of two languages displaying then "content lang-x-ns-page" and "content lang-y-ns-page".
With such a possibility translations can be easier checked as well.

Just visions and since thought of use for many into translation/localization here verbal expressed.
Here sample pages of a text translated:
http://accesstoinsight.eu/en/lib/thai/chah/insimpleterms
http://accesstoinsight.eu/de/lib/thai/chah/insimpleterms

Now if wishing to prove against each other, it's not so easy.

The practical hint by Mr. Michael matches the way people might do it, displaying the whole website parallel for edits. Is not possible for mobil devices and one doing so might know the scroll/sting by string burden, when comparing or editing.
This post was edited on 2018-11-15, 01:23 by Samana Johann.
Avatar
Michaelsy #6
Member since Jun 2015 · 567 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Is not possible for mobil devices…

My mobile phone Samsung Galaxy Note (year 2011) has a feature called „Multi Window“ or „Multiview“. This allows two apps to be positioned side by side. Seems to be a specialty of Samsung and as far as I know also exists in newer devices from this manufacturer.

Of course that is not an optimal solution. But better the sparrow on the hand than the pigeon on the roof...

After all, in this way texts from different sources, apps and formats can be juxtaposed, even on a mobile device.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
Samana Johann #7
Member since Jun 2018 · 123 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Sure Mr. Michael, doing that work/giving into many years, day by day, there are always ways and hard circumstances, nobody would do such, might not hinder. How ever, my person thinks that the forum here has actually another purpose as well as those on developing, then to solve things with ways outside of DW's prosperity. Of course just my persons perception on it, which can be wrong and always great to be gifted with practical shares of others.

(and mudita that Mr. Michael is gifted with, able to use and obtain pleasing things)
Avatar
ach (Administrator) #8
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
So, the purpose of this would be to help translating larger texts?

I doubt any possible solution for that would work well on mobile.

Maybe such a thing is out of scope of what DokuWiki can do. It's probably possible to build something somehow but it might be better to use a different tool built for that purpose.
Avatar
Samana Johann #9
Member since Jun 2018 · 123 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Mr. Ach, it is not thought to be limited for mobile devices but a general tool for localization, translation and study in/on a wiki, doku wiki.
Sure it is "just" a vision.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-12-14, 04:16:59 (UTC +01:00)