SDL Trados Studio
SDL Trados GroupShare
SDL Trados Business Manager
SDL Trados Live
SDL MultiTerm
SDL Passolo
SDL Speech to Text
SDL Managed Translation - Enterprise
SDL MultiTrans
SDL TMS
SDL WorldServer
Translation Management Connectors
SDL LiveContent S1000D
SDL Contenta S1000D
SDL XPP
SDL Tridion Docs
SDL Tridion Sites
SDL Content Assistant
SDL Machine Translation Cloud
SDL Machine Translation Connectors
SDL Machine Translation Edge
Language Developers
Tridion Developers
Tridion Docs Developers
Xopus Developers
Community Help
SDL User Experience
Language Products - GCS Internal Community
SDL Community Internal Group
SDL Access Customer Portal
SDL Professional Services
SDL Training & Certification
Style Guides
Language Technology Partner Group
SDL Academic Partners
SDL Enterprise Technology Partners
XyUser Group
ETUG (European Trados User Group) Public Information
Machine Translation User Group
Nordic SDL Tridion Docs User Group
SDL Tridion UK Meetup
SDL Tridion User Group New England
SDL Tridion West Coast User Group
SDL WorldServer User Group
Tridion Docs Europe & APAC User Group
Tridion User Group Benelux
Tridion User Group Ohio Valley
SDL MultiTerm Ideas
SDL Passolo Ideas
SDL Trados GroupShare Ideas
SDL Trados Studio Ideas
SDL Machine Translation Cloud Ideas
SDL Machine Translation Edge Ideas
SDL Language Cloud TMS Ideas
SDL Language Cloud Terminology Ideas
SDL Language Cloud Online Editor Ideas
SDL Managed Translation - Enterprise Ideas
SDL TMS Ideas
SDL WorldServer Ideas
SDL Tridion Docs Ideas
SDL Tridion Sites Ideas
SDL LiveContent S1000D Ideas
SDL XPP Ideas
Events & Webinars
To SDL Documentation
To SDL Support
What's New in SDL
Detecting language please wait for.......
Hi I am a total newbie so please excuse me if this has been asked before. Have been looking all over but cannot seem to find a solution. Can someone suggest a script to insert a non-breaking space between dates. In my language - Maltese - the format would be as follows 13 March 2019 = 13 ta' Marzu 2019. So basically the non-breaking space is needed after 13, after ta' and after Marzu. Since this is not the only issue I have with nonbreaking space scripts is there a place with instructions how to build others eg nonbreaking space after p. (which stands for page)?
Hi Sandra,
For the dates, I would suggest having a look at the Regex Match AutoSuggest Provider:
https://signsandsymptomsoftranslation.com/2015/06/25/studio_dates/
http://noradiaz.blogspot.com/2015/07/a-collection-of-regular-expressions-for.html
Just make sure to paste a non-breaking space into the replacement pattern.
For adding a non-breaking space after something like p., have a look at this AutoHotkey discussion to get some inspiration:
https://community.sdl.com/product-groups/translationproductivity/f/autohotkey/25183/non-breaking-space-before/79118#79118
Thanks! Yes I had come across these. Maybe I was not clear. What I was looking for was a script (if this exists) to search and replace dates with the non-breaking space
Not a script, but here's a regular expression you can use in the Find and Replace dialog:
Find what: (\d{1,2})\s(ta')\s(\w+)\s(\d{4})
Replace with: $1 $2 $3 $4
In the "Replace with" field, you will need to paste non-breaking spaces after $1, $2, and $3
The result should be what you need:
Thank you so much!
Can I please ask you help with a regular expression using Find and Replace to replace for example p. (number) with p.(non-breaking space)(number)
Try this:
Find what:
(p\.)\s(\d+)
Replace with:
$1 $2
Make sure to paste a nonbreaking space in the "Replace with" expression.
Thanks again!