bugLordsAWar! - Bugs: bug #60097, russian translation instructions

 
 

bug #60097: russian translation instructions

Submitter:  None
Submitted:  Mon 22 Feb 2021 01:23:47 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 22 Feb 2021 05:25:11 PM UTC, comment #7: 

0AD seems to be using gettext like lordsawar, so that's something I can look at for ideas

Ben Asselstine <benasselstine>
Group administrator
Mon 22 Feb 2021 03:37:13 PM UTC, comment #6: 

I think it is no restricted to add an option in preferences in main menu. It was realized, for example, in 0 a.d. and hedgewars. Let user choose the bative language.
комментарий №5:

> hmm I wonder how I can test this in my copy of windows.

Anonymous
Mon 22 Feb 2021 02:38:46 PM UTC, comment #5: 

hmm I wonder how I can test this in my copy of windows.

Ben Asselstine <benasselstine>
Group administrator
Mon 22 Feb 2021 02:28:23 PM UTC, comment #4: 

I tried, and game is still on English language.
comment #3:

> Yes that's what the configuration file looks like.
>
>
> Hmm Russian_Russia.1251 must be a windows thing.
>
> Please try running again with:
> ru_RU
> or
> ru_RU.UTF-8
>
> instead of Russian_Russia.1251


Anonymous
Mon 22 Feb 2021 02:17:06 PM UTC, comment #3: 

Yes that's what the configuration file looks like.


Hmm Russian_Russia.1251 must be a windows thing.

Please try running again with:
ru_RU
or
ru_RU.UTF-8

instead of Russian_Russia.1251

Ben Asselstine <benasselstine>
Group administrator
Mon 22 Feb 2021 02:12:25 PM UTC, comment #2: 

I found it here:
C:\Users\Army_bloodcore\AppData\Local\lordsawar
File contents:
<?xml version="1.0" encoding="utf-8"?>
<lordsawarrc version="0.2.2">
<d_datapath>.</d_datapath>
<d_savepath>C:\Users\Army_bloodcore\AppData\Local\lordsawar\</d_savepath>
<d_lang>Russian_Russia.1251</d_lang>
<d_cachesize>2097152</d_cachesize>
<d_zipfiles>false</d_zipfiles>
<d_autosave_policy>Configuration::WRITE_UNNUMBERED_AUTOSAVE_FILE</d_autosave_policy>
<d_speeddelay>0</d_speeddelay>
<d_fightrounddelayfast>250</d_fightrounddelayfast>
<d_fightrounddelayslow>500</d_fightrounddelayslow>
<d_commentator>true</d_commentator>
<d_musicenable>false</d_musicenable>
<d_musicvolume>128</d_musicvolume>
<d_musiccache>10000000</d_musiccache>
<d_view_enemies>true</d_view_enemies>
<d_view_production>true</d_view_production>
<d_quests>GameParameters::NO_QUESTING</d_quests>
<d_vectoring_mode>GameParameters::VECTORING_ALWAYS_TWO_TURNS</d_vectoring_mode>
<d_build_production_mode>GameParameters::BUILD_PRODUCTION_ALWAYS</d_build_production_mode>
<d_sacking_mode>GameParameters::SACKING_ALWAYS</d_sacking_mode>
<d_hidden_map>false</d_hidden_map>
<d_diplomacy>false</d_diplomacy>
<d_neutral_cities>GameParameters::AVERAGE</d_neutral_cities>
<d_razing_cities>GameParameters::ALWAYS</d_razing_cities>
<d_intense_combat>false</d_intense_combat>
<d_military_advisor>false</d_military_advisor>
<d_random_turns>false</d_random_turns>
<d_quick_start>GameParameters::NO_QUICK_START</d_quick_start>
<d_cusp_of_war>false</d_cusp_of_war>
<d_decorated>false</d_decorated>
<d_remember_recent_games>true</d_remember_recent_games>
<d_remember_recently_edited_files>true</d_remember_recently_edited_files>
<d_double_click_threshold>400</d_double_click_threshold>
<d_gamelist_server_hostname></d_gamelist_server_hostname>
<d_gamelist_server_port>18998</d_gamelist_server_port>
<d_gamehost_server_hostname></d_gamehost_server_hostname>
<d_gamehost_server_port>22998</d_gamehost_server_port>
<d_font_size_override>0</d_font_size_override>
</lordsawarrc>

Game now on english.

comment #1:

> Try searching for the "lordsawarrc" file on your system, open it up in notepad and change the s_lang variable to have ru_RU in it.


Anonymous
Mon 22 Feb 2021 01:33:56 PM UTC, comment #1: 

We used to have a language selection thing in the main preferences dialog but users complained that it was the wrong way to do it because translations should "just work" by default without having to do anything.

Enabling translations is still wonky in lordsawar though, because we use a configuration option in the "lordsawarrc" configuration file called "s_lang" to set it.

Try searching for the "lordsawarrc" file on your system, open it up in notepad and change the s_lang variable to have ru_RU in it.

But yeah, we should do the right thing and axe this configuration option.

Ben Asselstine <benasselstine>
Group administrator
Mon 22 Feb 2021 01:23:47 PM UTC, original submission:  

Game does not show me russian translate.
Can you give me instruction how to do this?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by benasselstine (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code