Problems with languages

Everything related to our flagship word processor.
Post Reply
gnoli
Posts: 14
Joined: 2007-04-12 10:43:01
Location: Ravenna, Italy

Problems with languages

Post by gnoli » 2007-08-30 11:55:05

Hi,
I have some problems setting languages. I use Italian as default language, then other languages as English, French, German, all with the correspondent keyboard shortcut (ctrl-EN; ctrl-FR; ctrl-GE) dictionaries, thesauri (when available) and so on. No problem.
Problems arose when I try to set languages with specific keyboard layouts. I use Ancient Greek with a specific keyboard layout delivered from Linguist Software, so I need to set a new language, "Ancient Greek" with a secondary font, and a specific keyboard layout. When I close the dialogue window the settings related to the keyboard are lost.
The same thing happens when I use a second "language." It is a setting that I created to write words in Arabic, Hebrew, Greek with a font Roman with diacritics. In this case the "language" (which I named "transliterated") must maintain the same font, turn off spelling dictionaries etc., and switch to a specific keyboard layout, from Linguist Software. Because I am obliged to set a language "based on," I choose Italian, my default language. When I close settings, the keyboard of "transliterated" switches to Italian again.
I noted also that in the Menu Format>Language I have some languages duplicated: Italian with and without keyboard shortcut; Transliterated with and without keyboard shortcut; French with same characteristics.
How may I restore single languages, eliminating duplicates (in dialogue window Edit language I have only one Italian, Transliterated and so on) ?
Thank you very much

User avatar
martin
Official Nisus Person
Posts: 4251
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Problems with languages

Post by martin » 2007-08-30 14:04:58

gnoli wrote:I use Ancient Greek with a specific keyboard layout delivered from Linguist Software, so I need to set a new language, "Ancient Greek" with a secondary font, and a specific keyboard layout. When I close the dialogue window the settings related to the keyboard are lost.
This is a bug that we will definitely fix in an upcoming update. In the meantime, if you are comfortable, you can work around the problem by:

1. Quit NWP if it is running.
2. Find the corresponding language definition file in the folder ~/Library/Application Support/Nisus Writer/Languages/Ancient Greek.nlang
3. Open this file in a text editor.
4. Modify the following lines in the file:

Code: Select all

<key>keyboardInputMethod</key> 
<dict> 
   <key>keyboardLayoutDisplayName</key> 
   <string>U.S.</string> 
   <key>keyboardLayoutIdentifier</key> 
   <integer>0</integer> 
</dict>
You'll need to know the display name and internal identifier of the layout you want to use.
I noted also that in the Menu Format>Language I have some languages duplicated: Italian with and without keyboard shortcut
The first few entries in the language menu are the most recently used languages. The duplication is intentional and is simply for your convenience.

gnoli
Posts: 14
Joined: 2007-04-12 10:43:01
Location: Ravenna, Italy

Post by gnoli » 2007-08-31 02:23:52

I am sorry, but I do not know the internal identifier of my keyboard layout.
I will wait for the upgrade, hoping in your fastness :wink:
I was a Nisus user since v. 4, then I switched to Mellel, but with NWP I was happy to return to my first, unforgettable, love. The really break between Mellel and NWP is, in my opinion, the language support, so the existence of a bug in this section is disappointing to all those people that, like me, want to go home after a long exile ....

gnoli
Posts: 14
Joined: 2007-04-12 10:43:01
Location: Ravenna, Italy

Post by gnoli » 2007-08-31 02:32:18

This is the text that appears opening Ancien Greek
The name of the Keyboard Layout is GreekLS Classical OT.
Can you help me?
Thanks

Code: Select all

<xml>
<DOCTYPE>
<plist>
<dict>
	<key>basedOnLanguageCode</key>
	<string>el</string>
	<key>modifications</key>
	<dict>
		<key>dictionaryLanguage</key>
		<dict>
		<key>fontSwitchMode</key>
		<integer>2</integer>
		<key>languageName</key>
		<string>Ancient Greek</string>
		<key>secondaryFontName</key>
		<string>OdysseaU</string>
		<key>secondaryFontSize</key>
		<integer>12</integer>
	</dict>
</dict>
</plist>

User avatar
martin
Official Nisus Person
Posts: 4251
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Post by martin » 2007-08-31 09:58:24

Can you please email me directly about this? Thank you.

Martin
Image

Post Reply