First time here? Check out the FAQ!
1

Russian letters are oversized aa аа
 

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
asked 12 years ago, updated 12 years ago

Comments

see more comments

2 Answers

1

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).

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago, updated 12 years ago
link

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's avatar Toms (12 years ago)

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

Evgeny's avatar Evgeny (12 years ago)

Thank you @Evgeny!

Toms's avatar Toms (12 years ago)
1

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

Evgeny's avatar Evgeny (12 years ago)
see more comments
1

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
answered 12 years ago, updated 12 years ago
link

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's avatar Evgeny (12 years ago)

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's avatar Toms (12 years ago)
see more comments