Ask Your Question
1

Russian letters are oversized aa аа

asked 2012-07-14 20:29:12 -0600

Toms gravatar image

updated 2012-07-14 20:34:32 -0600

When you look at the screenshot you see that all russian letters are too large. And for that reason some buttons have only few letters instead of whole words in it.

Questions in english have correct size, questions in russian not.

In my settings.py file was the only change to english:

LANGUAGE_CODE = 'ru'

is it not enough, should I change something else?

And please look at the title of this question

one letter "a" is english the other "a" is russian, and they differ in size.

image description

image description

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2012-07-15 16:33:18 -0600

Evgeny gravatar image

updated 2012-07-16 01:08:41 -0600

edited: replaced font Yanone Kaffeesatz with Open Sans Condensed and this problem disappeared - the fix is available in the repository.

The problem was due to the absence of the Cyrillic characters in the Yanone Kaffeesatz font. In your case Russian letters were probably rendered in Arial (the fallback font after the fancy web-font).

edit flag offensive delete link more

Comments

Thanks. what file should be changed? There are also some text strings not translated from english, for example in FAQ. Where to change them. Should I run some script after this change?

Toms gravatar imageToms ( 2012-07-15 17:21:44 -0600 )edit

Actually I've decided to switch to Open Sans Condensed, just wait till tomorrow or a bit later today.

Evgeny gravatar imageEvgeny ( 2012-07-15 17:30:13 -0600 )edit

Thank you @Evgeny!

Toms gravatar imageToms ( 2012-07-15 17:43:11 -0600 )edit
1

Try the master branch now, I've switched the font.

Evgeny gravatar imageEvgeny ( 2012-07-15 21:11:07 -0600 )edit
1

answered 2012-07-16 06:09:55 -0600

Toms gravatar image

updated 2012-07-16 14:58:17 -0600

After the update the size of english and russian words is equal, but look at the screenshot:

1) There are two badge icons

2) The search bar is not on the right place (probably it has fixed size and therefore not enough place)

3) "Follow" is composed of two words for that reason it is too large

4) The button is too small for the text in the button.

image description

edit flag offensive delete link more

Comments

1

It will take some language-specific fixes to align everything. There are some examples in style.less file. Language code is attached as class to the "body" element.

Evgeny gravatar imageEvgeny ( 2012-07-16 08:42:11 -0600 )edit

Hi Evgeny! I think the most issues with the appearance can be avoided with adjusted translation.

What is the best way to translate? Thank you!

Toms gravatar imageToms ( 2012-07-16 15:45:57 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-07-14 20:29:12 -0600

Seen: 167 times

Last updated: Jul 16 '12