While working on the project, it wouldn’t matter too much that long words would not break at the end of a line. At publication time, you could change all the ~
to spaces again.
I wonder whether it would confuse PT, or create some sort of conflict that the ~
character, which represents a special type of space, is also listed as either word-medial punctuation or as a word-forming character/alphabetical character. That’s why I said “I wonder” in my previous post …
However, if PT can handle this, then presumably you could set up hyphenation (via the Word List) just as you would for any other language. While the non-breaking spaces would not allow the word to break, the optional hyphens after the non-breaking space would.
And, then again, maybe you don’t need words to break across lines at all. A lot of children’s books, except in languages with very long words, do not use hyphenation at all.
Perhaps it would be less work to change every space to a ~
, and then change back the spaces between words to ordinary spaces – since there are presumably less of these than there are spaces within words. Whatever you do is going to involve a lot of work because it seems that you currently have no distinction between a word-medial space and a word-final space: that distinction has to be made, and that can only be done with some manual human intervention.
Now, if the spellchecking in PT could recognise phrases as wrong spellings, you could use the spellcheck to correct each word wherever it occurs. Here’s an English example:
Say you consider the phrase “time frame” to always – or almost always – be wrong because the correct form is “time-frame”: then, if PT allowed you to register phrases for correction, you could register the correction:
Similarly, for your language: