BreadcrumbsYouAreHereText property not localising properly?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
owensmn
Propeller Head
Posts: 22
Joined: Fri Mar 30, 2012 6:42 am
Location: Harrogate, North Yorkshire, UK

BreadcrumbsYouAreHereText property not localising properly?

Post by owensmn »

Hi
I've got an English help system which we've translated into German.

In English, an example of an English BreadCrumb trail is:

Code: Select all

You are here: Administration > Functionality Reference > Team Hierarchy
The same trail in German is:

Code: Select all

Sie befinden sich hier:Administration > Funktionreferenz > Teamhierarchien
My understanding is the German translation for "You are here:" is provded by Flare.

My testers are complaining about the loss of the space character after the colon.

Scanning the output of the help build gives plenty of examples of the "Sie befinden sich hier:" but none for ""Sie befinden sich hier: ".

Apart from performing a mass search/replace on on the built help to add the space, can anyone suggest a fix for this on the original Flare translation so it keeps the space?


Thanks
Mark
Nita Beck
Senior Propellus Maximus
Posts: 3672
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: BreadcrumbsYouAreHereText property not localising properly?

Post by Nita Beck »

Hi Mark. Welcome...

This is just a guess on my part because I haven't had my own projects translated yet.

The "You are here: " text comes from the stylesheet being used to format topics. Is there a localized German version of the stylesheet? If you look there, I'm betting that you'll find that there is no space after the colon. When Flare generates your output, it fetches that little bit of content from there and inserts it into the generated topics for their breadcrumbs.

Hope this helps.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
owensmn
Propeller Head
Posts: 22
Joined: Fri Mar 30, 2012 6:42 am
Location: Harrogate, North Yorkshire, UK

Re: BreadcrumbsYouAreHereText property not localising properly?

Post by owensmn »

Hi Nita,
Thanks for your suggestion.
I've done some searching in my German help source, i.e. the files prior to a build. There is no sign of the German translation, in my files. So I am pretty sure that if I'm not suplying it during the build, then flare is, although I'm still not certain where that translation lives (buried in a DLL is my bet :) )
After the build, there are lots of Stylesheet.js and Stylesheet.xml files containing the German translation (no space after translation).

The stylesheet being used has this entry in it:

Code: Select all

html.X2
{
	mc-master-page: url('../MasterPages/Breadcrumbs.flmsp');
}
When I look in that file, I see this entry:

Code: Select all

<MadCap:breadcrumbsProxy />
If I had to guess what is happening, I'd say the German translation, held in a Flare file, is not 100% correct.

Thanks
Mark
alt_jennifer
Propeller Head
Posts: 57
Joined: Mon Mar 08, 2010 12:33 pm
Location: Fayetteville, NC
Contact:

Re: BreadcrumbsYouAreHereText property not localising properly?

Post by alt_jennifer »

Actually, to edit the default German breadcrumb text in Flare, you need to edit the Language Skin. Here's how, using Flare 8 :

In the Tools menu/ribbon, select Manage Language Skins. Click on the correct German language variety (matching what you set in the Project Properties or in the Target itself). Then click Open File for Editing. (Hit OK if it tells you it's created a new file.)

Now you get an editor very similar to the regular Skin Editor, but only with the Styles portion. Click on Formats in the left tree, then open the Breadcrumbs node on the right side. You should see that German phrase, "Sie befinden sich hier:". Just add the space after the colon, click outside the field, and save. That should fix it!

For some reason, in all of the translated Breadcrumb strings MadCap provided, the final space was left out. So this is a fix that I've had to do myself several times, in many languages :) Hope this helps!

Jennifer
Jennifer Schudel
Localization Manager/Flare Operator
Advanced Language Translation / http://www.advancedlanguage.com
* MadCap Recommended Translation Vendor *
alt_jennifer
Propeller Head
Posts: 57
Joined: Mon Mar 08, 2010 12:33 pm
Location: Fayetteville, NC
Contact:

Re: BreadcrumbsYouAreHereText property not localising properly?

Post by alt_jennifer »

For clarification, I will go ahead and note... Flare uses whatever is in the Language Skin, unless it's overridden by something in the stylesheet or the actual project Skin (stored in Project/Skins). So for example, if you had a German stylesheet that specifically said to use another phrase, that phrase would win out over the phrase in the Language Skin. But if there is no phrase specified for the breadcrumbs at all in the stylesheet (or in the project Skin), Flare uses the phrase from its Language Skin.

Also, once you edit the Language Skin, everytime you generate German content from your particular installation, Flare will use your customized German phrases. It won't revert back to the default phrase every time. But if you need another installation to generate the German content too, then the change will need to be made there as well, or the edited language skin file will need to be passed along to that other installation. Your customized skin files are stored as .lng files and they usually reside here: C:\Users\username\AppData\Roaming\MadCap Software\Flare\Language Skins.
Jennifer Schudel
Localization Manager/Flare Operator
Advanced Language Translation / http://www.advancedlanguage.com
* MadCap Recommended Translation Vendor *
owensmn
Propeller Head
Posts: 22
Joined: Fri Mar 30, 2012 6:42 am
Location: Harrogate, North Yorkshire, UK

Re: BreadcrumbsYouAreHereText property not localising properly?

Post by owensmn »

Hi Jenifer,
Thanks for both your posts. Very informative and I now have the extra space for German.
I'll fix it for all my other languages too :-)
I don't suppose you have asked MadCap to fix it permanently have you?
Cheers
Mark
alt_jennifer
Propeller Head
Posts: 57
Joined: Mon Mar 08, 2010 12:33 pm
Location: Fayetteville, NC
Contact:

Re: BreadcrumbsYouAreHereText property not localising properly?

Post by alt_jennifer »

A little late, but no I haven't. I could actually make several recommendations for their default language skins... I'll try to do that soon!
Jennifer Schudel
Localization Manager/Flare Operator
Advanced Language Translation / http://www.advancedlanguage.com
* MadCap Recommended Translation Vendor *
Post Reply