Home Forum
Welcome, Guest
Username Password: Remember me

translation issue
(1 viewing) (1) Guest

TOPIC: translation issue

translation issue 2 years, 8 months ago #11698


  • Posts:1
  • vik
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
Hi all
I've just started to use Expose and many thanks to the developers for the great job
But unfortunately I found that Expose didn't properly work with russian characters (as well as with any cyrillic language i guess). So I had to spend a couple of hours looking for a solution. As far as I didn't found it on this forum I'd like to share it now if you don't mind.


1. How to get front-end work with cyrillic
The point is the embedded font which is used by default. So you need to change expose.html.php and switch it off:
 
'FlashVars', '..............useEmbeddedFonts=yes',
 

replace with
 
'FlashVars', '..............useEmbeddedFonts=no',
 


Then you need to change the default font in expose\config\formats.xml - replace every entrance of "Frutiger Bold" with any cyrillic font, e.g. "_serif"


2. How to get back-end work with cyrillic
The point is a mystic issue with Flash Player. I can't get what exact fonts it use when you set window mode to transparent, but they are definitely not cyrillic. So you can't type any cyrillic symbol in any text field, but still you can somehow copy-paste cyrillics. I don't know what's the point of that staff, but it can be easily fixed As far as there's no use in transparent effect in the admin part we can just change it with a common style.
In expose\manager\manager.html change these lines
 
'wmode', 'transparent',
..............
<param name="wmode" value="transparent" />
 

with
 
'wmode', 'window',
..............
<param name="wmode" value="window" />
 


So it works perfectly now. I hope I'll save someone's time with this notice

p.s. I'll post strings.xml with russian translations when I make it

Re: translation issue 2 years, 8 months ago #11719


  • Posts:1142
  • TBK
  • Administrator
  • OFFLINE
  • Karma: 2
Sorry, for the late reply. You could just had graped this font pack containing the Cyrillic font: joomlacode.org/gf/download/frsrelease/9755/37217/FontsPack.zip
When asking for help, then please include:
- URL
- Expose version
- Joomla version
- SEF status (on/off)

Always RTFM!

Re: translation issue 1 year, 5 months ago #13155


  • Posts:15
  • Rajkovic
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
Hi!

I've installed expose 4.6.3...and i cannot write and save Text with š, č, ž fonts...
In our country we use them all the time, so it's a must.

I've tried all of the above and nothing seems to work.
1. Embedded Fonts set to 'No' in backend expose configuration
2. Viks idea mentioned above
3. Installing FontsPack via FTP to expoe folder.


in ReadMe file you mentioned that i should check for...
<joomla_root>/components/com_expose/expose/swf/strings/swf
<joomla_root>/components/com_expose/expose/config/strings.xml


/strings/swf folder or file doesn't even exsist
the /strings.xml is the language translation for other countries....

The only thing i changed was the replacement of
swf/fonts.swf
config/formats.xml


Still nothing..when i try to use č, š, ž fonts they wount show and i can't create next Album in backend. It becomes locked or jammed

Help needed...
Thanks, Samo

Re: translation issue 1 year, 5 months ago #13157


  • Posts:1142
  • TBK
  • Administrator
  • OFFLINE
  • Karma: 2
Copy paste the text from a text editor, working on a fix for next release.
When asking for help, then please include:
- URL
- Expose version
- Joomla version
- SEF status (on/off)

Always RTFM!
Last Edit: 1 year, 5 months ago by TBK.

Re: translation issue 1 year, 5 months ago #13158


  • Posts:15
  • Rajkovic
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
can you be more specific please...
i don't know what to copy

Re: translation issue 1 year, 5 months ago #13159


  • Posts:1142
  • TBK
  • Administrator
  • OFFLINE
  • Karma: 2
A quick fix is to edit

Joomla Root/components/com_expose/expose/manager/manager.php


Find all the places where wmode is used and replace the value "transparent" with "normal".

You need to turn "useEmbeddedFonts" back on, otherwise Expose/flash will use the system default font, and thereby not display the characters correctly in the frontend.
When asking for help, then please include:
- URL
- Expose version
- Joomla version
- SEF status (on/off)

Always RTFM!
Time to create page: 0.20 seconds