Pira.cz Technical Forum
Magic RDS 4 => Feature Requests => Topic started by: zvykov on December 26, 2021, 12:38:50 am
-
Hi, I really like the possibilities and flexibility of the MAGIC RDS 4 application. A question arose: I have songs with Cyrillic symbols, how to transliterate them correctly.
I was just compiling a list of letters in the TEXT REPLACING window, but the combinations "тся" and "ться" are translated character by character and it doesn’t work as it should be.
Maybe there are thoughts on how to do this correctly?
Attached, just in case, a variant of what I need.
Thanks in advance.
-
The text replacing supports replacement of text fragments created by previous replacement. In other words, the text processing is made line per line.
To avoid this, you have several options:
1) Use the word %END% where you want to avoid further replacement in case of match
2) Use intermediate expression for temporary storage
3) Change the line order where it is possible (select the cell, right click - Move Up/Down)
See the examples:
-
It's so simple and so amazing. I used the third method "тся" and "ться" put at the beginning of the list and now it works as it should.
Thank you very much, JAN.
-
Hi Jan!
Is it possible to set up text replacement rules so that the letter "ю" is replaced by "yu" and in the cases below it would be like this:
Юля - Yulya
юля - yulya
ЮЛЯ - YULYA
So far, only the first two options have been implemented:
%С%ю - yu
Ю - Yu
Is it possible?
-
The resolution would be to replace whole words before replacing letters. The replacement is processed line per line, from the top line to the bottom.
-
I used these specific words as an example of a situation to understand what I meant. And I just like to work by the rules. Composing all possible words with such a combination will not be easy and long.
-
Now I understand. You want to specify each word only once, match all combinations of upper and lower case and keep that in the resulting word. It can be done by the JavaScript. But the idea is interesting and I'll consider a special prefix for making such replacement.
-
Yes, that's what I meant.
The idea with the prefix is cool, it would be convenient.
Concerning a script, it is possible a suitable example?
-
Hi Jan!
Tested a new version 4.1.3 with support 'KeepCase'.
There is a nuance: if the word has the same character, then the second time is processed erroneously. For example ляля to lyayaя if "я" to %keepcase%ya
Or am I setting something wrong...
-
I believe this has been fixed in current build.
-
It would be cool. Let me know about the fix. Thanks.