Jump to content
You must now use your email address to sign in [click for more info] ×

Hyphenation for English words in Asian language.


Recommended Posts

Please make hyphenation for English words in Asian language possible.
If I enable hyphenation on Asian text, text style will be totally broken.

Adobe's can hyphenate only English words in an Asian language.(Refer attached image)


 

Image 2019-06-22 at 11.21.06 PM.png

Link to comment
Share on other sites

I think this is already supported.

Define the Paragraph Text Styles that you use for the Asian language as having a hyphenation language of None.

Then define the Character Text Style that you use for English as having a hyphenation language of English.

This kind of setup works for spell checking, and I think it will work for hyphenation, though I don't have time to check right now. Sorry.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

4 hours ago, walt.farrell said:

Then define the Character Text Style that you use for English as having a hyphenation language of English.

Does this mean I have to set a style to each English word/sentence?

Adobe's does this automatically without setting manually.

Link to comment
Share on other sites

Yes, you should apply a style for each different language you're using. 

I don't see how an application could figure out the language for spell checking or hyphenation automatically, in general, without such a hint from the user.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

3 minutes ago, walt.farrell said:

I don't see how an application could figure out the language for spell checking or hyphenation automatically, in general, without such a hint from the user.

How about special hyphenation rule that ignores non-alphabet characters for Asian languages?
(But specify certain language to alphabet characters such as English - to entire content)
I suppose Adobe is doing so.

Basically alphabets are for foreign words in Japanese or Chinese.
It's easy to judge what to target.





 

Link to comment
Share on other sites

The text in the original post was set to English(Refer attached image)
There is no selection for Chinese/Japanese in the language list, but I enabled "East Asian feature" in the Type setting.
That's how I created the text on Adobe.

Image 2019-06-23 at 4.36.52 PM.png

Link to comment
Share on other sites

I don't work with Asian languages, but I would expect that you'd use a different font for the English vs the Asian text. If so, your most efficient workflow for doing that would probably be to apply the font based on the paragraph or character style you've chosen. And at that point, in addition to selecting the font your style could set the language appropriately, or enable the East Asian feature.

Beyond that (or even at this point) I'm beyond my level of experience. Sorry.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

2 hours ago, walt.farrell said:

I don't work with Asian languages, but I would expect that you'd use a different font for the English vs the Asian text.

No, the same font are used for both Asian language and English in most of case. 

Link to comment
Share on other sites

7 minutes ago, ashf said:

No, the same font are used for both Asian language and English in most of case. 

Interesting. Thanks for the info.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.