Page 1 of 1

(in-game languages) Alphabetic order

Posted: Tue May 12, 2020 8:59 pm
by Athos1660
Is there a quick way to mod / a script to look at, in order to make the list of 'nations' (in Custom battles) be in Alphabetic order in one of the three in-game EU langages. Right now, those 3 lists seems to follow the 'English order' : for example, Espagnols (Spanish) are in the 'S', 'Tribus d'infantrie germanique' (Germanic blabla) are in the 'G, etc.
So I guess there is one order and 3 translations. That's this order I'd like to mod.

Image

Image

Image

I started to look at some scripts but did not find the answer.

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 9:22 pm
by rbodleyscott
The reason is because they are not sorted by army list name, but by the sortname in the ArmyList.txt file. There was a reason for doing it that way, although I cannot immediately remember what it was.

I will look into it.

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 9:29 pm
by Athos1660
Thank you.

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 9:36 pm
by rbodleyscott
Although I note that sorting some of the German lists shown in your screenshot in alphabetical order by army list name in French would not be very helpful. They would be even harder to find than they are now.

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 10:07 pm
by Athos1660
I am not sure that I understand what you mean.
Do you mean that, for example, if « Tribus d’infantrie germanique » was in the T, it wouldn't be very useful for a French because the first word is not related to the nation ?

« Tribus » is easier to find in the T than in the G. It is the logical order. It is currently very disturbing. We all(?) are used to the alphabetic order.

British are accustomed to have the qualifying adjective first.
But French are accustomed to the contrary (most of the time). It is normal to find « Tribus d’infantrie germanique » in the T, even if there are also "Tribus d’infantrie from Spain", "Tribus d’infantrie from elsewhere", etc.
That's cultural.

However, there are other options if you really want to have the ’nation’ first each time, like :
'Germains (Tribus d’infanterie germanique)' or 'Germains (Tribus d’infanterie)' instead of 'Tribus d’infanterie germanique'
Etc.
but 'Allemands' need to be in the 'A' IMHO, etc.

(edit)

About a classification in "Germains (Tribus d’infanterie germanique)", Etc.
I could give you a suggestion list of such changes for French.

(edit 2)
btw in this picture, the words are in disorder.
It is not 'Infanterie tribu germaine' but 'Tribu(s) germaine(s) d'infanterie" or 'Tribu(s) d'infanterie germaine" or "Tribus d’infanterie germanique" as below

Image

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 10:37 pm
by rbodleyscott
Athos1660 wrote: Tue May 12, 2020 10:07 pm I can also mod the sortname, can't I ?
Of course.
btw in this picture, the words are in disorder.
It is not 'Infanterie tribu germaine' but 'Tribu(s) germaine(s) d'infanterie" or 'Tribu(s) d'infanterie germaine" or "Tribus d’infanterie germanique" as below
Indeed. Translations done at different times (for different DLCs), without reference to the previous translations, can lead to inconsistencies. Although that looks just plain wrong to me, not just inconsistent.

Perhaps you would like to give me a list of such cases, so I could tidy them up. (Army List names only for now, time is not unlimited)

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 10:47 pm
by Athos1660
rbodleyscott wrote: Tue May 12, 2020 10:37 pm Indeed. Translations done at different times (for different DLCs), without reference to the previous translations, can lead to inconsistencies. Although that looks just plain wrong to me, not just inconsistent.

Perhaps you would like to give me a list of such cases, so I could tidy them up. (Army List names only for now, time is not unlimited)
I will.

(I also started to correct some small mistakes in Text2_FRE, but it is a big file !)

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 10:54 pm
by rbodleyscott
Athos1660 wrote: Tue May 12, 2020 10:47 pm(I also started to correct some small mistakes in Text2_FRE, but it is a big file !)
Yes, I probably don't have time to do that any time soon in the vanilla game, even if you provided me with the corrections.

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 10:55 pm
by rbodleyscott
As you say, you can mod the sortnames in the ArmyList.txt file.

There are technical reasons why the army list name strings themselves were not used for the sort because, due to engine constraints, it did not allow the army lists of each nation to be sorted in chronological order.

Re: (in-game languages) Alphabetic order

Posted: Tue May 12, 2020 11:00 pm
by Athos1660
rbodleyscott wrote: Tue May 12, 2020 10:54 pm
Athos1660 wrote: Tue May 12, 2020 10:47 pm(I also started to correct some small mistakes in Text2_FRE, but it is a big file !)
Yes, I probably don't have time to do that any time soon in the vanilla game, even if you provided me with the corrections.
I could also post the file on the forum as a mod for the French who'd want to download it.
But I am far from being sure that I will complete the corrections some day.

However, if you want me to have a look at the translation of a (not too long) file in the future, why not.

Re: (in-game languages) Alphabetic order

Posted: Wed May 13, 2020 6:35 am
by rbodleyscott
Athos1660 wrote: Tue May 12, 2020 11:00 pm
rbodleyscott wrote: Tue May 12, 2020 10:54 pm
Athos1660 wrote: Tue May 12, 2020 10:47 pm(I also started to correct some small mistakes in Text2_FRE, but it is a big file !)
Yes, I probably don't have time to do that any time soon in the vanilla game, even if you provided me with the corrections.
I could also post the file on the forum as a mod for the French who'd want to download it.
Not a good idea as Text2 gets additions with every update, so the modded version would lead to missing string errors.

Re: (in-game languages) Alphabetic order

Posted: Wed May 13, 2020 7:57 am
by Athos1660
rbodleyscott wrote: Wed May 13, 2020 6:35 am Not a good idea as Text2 gets additions with every update, so the modded version would lead to missing string errors.
Ok.
rbodleyscott wrote: Tue May 12, 2020 10:37 pm Perhaps you would like to give me a list of such cases, so I could tidy them up. (Army List names only for now, time is not unlimited)
Here it is :
typos underlined
in-game -> better translation

Perses achéménides 547 BC (no capital letter in 'achéménides')
Perses achéménides 545-481 (no capital letter and a 'é' in 'achéménides')
Perses achéménides 480-461
Perses achéménides 460-420
Perses achéménides 419-329
Arabes (Abbasides) 747-793 (a ’s’ at the end of Abbasides)
Arméniens (Tigrane) 83-69 (no ’s’ at the end of Tigrane)
Atropatène 144BC-226 AD
Infanterie tribu germaine -> Tribus germaniques d’infanterie
Grecs (Occidental) -> Grecs (Occident) or Grecs occidentaux
Huns (Occidental) -> Huns (Occident) or Huns occidentaux
Huns (Sabirs)
Indiens (Hindous du Sud)
Indiens (Hindous du Nord)
Tribus collines italiennes -> As is, wrong. I did not find an official translation. Literally, it is « Tribus italiques des collines »
Khorasanian 821-1003 -> Khorasans 821-1003
Kouchans
Kushites égyptiens -> Koushites égyptiens
Cyréniens grecs 630-461, 460-322, 321-276 -> Grecs (Cyrène) would be much better
Palmyre 258-273, Palmyréens 272-273 -> Palmyréniens 258-273, 272-273
Pecheneg -> Petchénègues
Pergamènes 262-191, 190-129 -> Pergamiens 262-191, 190-129
Ptolémaiques 320-218, 217-167 ; Ptoléméens 166-56, 55-30 -> ‘Lagides’ is the word (or less correct : Ptolémaïques)
Rhoxolans -> Roxolans
Perses Sassanides 477-590 -> Perses sassanides 477-590
Perses Sassanides 591-628 -> Perses sassanides 591-628
Perses Sassanides 629-651 -> Perses sassanides 629-651
Saxons (Continentaux) -> Saxons (continentaux) or Saxons (Continent)
Wisigothique 622-717 -> Wisigoths 622-717

Moreover, for each date :
BC should be translated by ‘av. JC’ or ‘av. n. è.’
AD should be translated by ‘ap. JC’ or ‘ap. n. è.’

(edit)

In-game 'Tribus à cheval germaines' is correct, but the word 'germanique' is also used in game so it could be 'Tribus à cheval germaniques' or better 'Tribus germaniques à cheval'.

Re: (in-game languages) Alphabetic order

Posted: Wed May 13, 2020 8:17 am
by rbodleyscott
Thanks

Re: (in-game languages) Alphabetic order

Posted: Wed May 13, 2020 10:19 am
by rbodleyscott
I have made most of the changes as you propose for the next update. (They won't appear in the forthcoming v1.5.29 open beta as that build is already done).

Annoying though it might be, I have not changed BC and AD, because that would make some of the list names too long to fit in the available UI space.

Re: (in-game languages) Alphabetic order

Posted: Wed May 13, 2020 11:19 am
by Athos1660
Very nice! Thanks!

Re: (in-game languages) Alphabetic order

Posted: Wed May 13, 2020 9:49 pm
by Athos1660
btw I've just noticed a tiny typo, a missing Capital letter at the first "Irlandais". No big deal.

Image

Re: (in-game languages) Alphabetic order

Posted: Thu May 14, 2020 6:32 am
by rbodleyscott
Athos1660 wrote: Wed May 13, 2020 9:49 pm btw I've just noticed a tiny typo, a missing Capital letter at the first "Irlandais". No big deal.

Image
Thanks