Does BUG need a translator?

- The dropdown menu of the Customizable Domestic Advisor

Hmm, those are stored in the CustomDomAdv.txt file. Cammagno built all the pages, and there's no reason we couldn't create a version for each language. It is a feature request to make it so you can select different lists without mucking about with files, and this is related. However, it seems a shame since the only difference between the files are the page titles. I'll see if I can think of a way to handle it.

Since the user can add their own pages and change the titles of any page, the titles cannot be stored in XML, and thus they cannot use Civ4's built-in language-choosing code. We'd have to do some manual selection, so this is high cost for low gain I'm afraid -- meaning low priority.

A simple way would be to use the screen itself to translate the titles and then save a copy of the CDA.txt file as CustomDomAdv_German.txt. Then we'd install each version and let the user manually swap in the language of their choice. It won't be dynamic, but it would work. It's even possible that Alerum could tweak the installer to ask for the user's language and set up the correct file as default. :)

- The Raw Commerce / Production display on the city screen
- Tooltips for the icons to the right of the dropdown menu in the Customizable Domestic Advisor

Yup, on my list. I'll make sure these are on the feature tracker on SF.net. The first is trivial. I should just bang that out today.

- Some wider column headers by default in some of the pages of the Customizable Domestic Advisor

Is this because the headers don't fit, or the values don't fit? It's true that the default size for some of the columns is based on the data they hold rather than their header.
 
[...]

A simple way would be to use the screen itself to translate the titles and then save a copy of the CDA.txt file as CustomDomAdv_German.txt. Then we'd install each version and let the user manually swap in the language of their choice. It won't be dynamic, but it would work. It's even possible that Alerum could tweak the installer to ask for the user's language and set up the correct file as default. :)

Sure. That sounds like a doable solution. I'll take a look into the file.

Yup, on my list. I'll make sure these are on the feature tracker on SF.net. The first is trivial. I should just bang that out today.

Cool. Especially the icons are somewhat hard to understand. I didn't really figure out what stands for what. Would be a great relief if the tooltips could be implemented.

Is this because the headers don't fit, or the values don't fit? It's true that the default size for some of the columns is based on the data they hold rather than their header.

Unfortunately, I've seen both cases occur although the width of the advisor isn't fully utilized.
 
I'll take a look into the file.

Despite being a ".txt" file, it's not completely plaintext. You're better off changing the titles in-game. First hit the "edit" button (third, the little scroll to the right of the page title and arrows). Next hit the button one to its right (fourth) to change the title. You can simply hit the next page button (second) to switch pages and repeat. Once you're done, hit the second-to-last button (little monitor) to save the file.

Especially the icons are somewhat hard to understand.

We want tooltips for both the buttons/icons as well as the column headers. I think we may be SOL for the buttons, though. The headers can be done. There's another Domestic Advisor mod that has this.

I've put the Raw Production/Commerce labels into the XML now. I had to shift the display a little to get those damn German ones to fit. :mischief:
 
Thanks. Some babelfish translations are actually pretty fitting. :D

I thought about the CDA and wondered when the text-file is called or loaded. If that happens not until ingame, maybe it's possible to use some kind of query to determine which language is used and then load the appropriate file (like English is detected -> load standard CustomDomAdv.txt; German is detected -> load CustomDomAdv_german.txt).
Just some crazy thought I had. :D
 
That's exactly what I'll do. One bummer is that there is no master list of languages in Civ4 like you can get the list of all terrain types. Thus I will have to hard-code language 0 as English and 2 as German. No big deal, as I don't expect Firaxis to change the list or order any time soon. :)

The file is loaded when the screen is opened for the first time, btw.
 
I added some english tooltips for some options at the "Alerts" tab (see pic) because some had just a point in it. Could you take a look at them and tell me if they are proper English? Improvements would be welcome. :)
<Tag>TXT_KEY_BUG_OPT_ALERT_TECHTRADE_HOVER</Tag>
<English>When checked, displays an alert when a civilization is willing to trade technologies.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_GOLDTRADE_HOVER</Tag>
<English>When checked, displays an alert when a civilization can spare a specified amount of gold.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_GOLDTRADETHRESH_HOVER</Tag>
<English>Determines the threshold for the amount of gold that will display an alert.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_GOLDPERTURNTRADE_HOVER</Tag>
<English>When checked, displays an alert when a civilization can spare a specified amount of gold per turn.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_GOLDPERTURNTRADETHRESH_HOVER</Tag>
<English>Determines the threshold for gold per turn that will display an alert.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_OPENBORDERSTRADE_HOVER</Tag>
<English>When checked, displays an alert when a civilization is willing to sign an "Open Borders" agreement.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_DEFENSIVEPACTTRADE_HOVER</Tag>
<English>When checked, displays an alert when a civilization is willing to sign a "Defensive Pact" agreement.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_PERMANENTALLIANCETRADE_HOVER</Tag>
<English>When checked, displays an alert when a civilization is willing to sign a "Permanent Alliance" agreement.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_DOMPOP_HOVER</Tag>
<English>When checked, displays an alert when your population is close to or exceeds the limit for a Domination victory.</English>

<Tag>TXT_KEY_BUG_OPT_ALERT_DOMLAND_HOVER</Tag>
<English>When checked, displays an alert when your land area is close to or exceeds the limit for a Domination victory.</English>

Also I have a little request: Is it possible to add two titles at the "Advisor" tab (see second pic)? Would be great. :D
 

Attachments

  • Bild-0007.jpg
    Bild-0007.jpg
    153.5 KB · Views: 115
  • Bild1.jpg
    Bild1.jpg
    136.3 KB · Views: 146
The english on that is perfect Doc.;) I'm sure EF and Ruff could add the tabs, but don't want to speak for them. It's still odd seeing the BUG Mod Options in German... God I love it.;)
 
Sweet, we'll have complete hovers! :) Thanks, those look and read perfect.

And good idea on the two labels. That does clear up that column nicely. They are in SVN ("Ratios:" and "Missions:").
 
Great to be part of the BUG Mod. :king:
I adjusted the width of some of the columns in the CDA so that the headers and values now fit. The changes are small but work well. I attached the file for English and German. :)

Again, I have two little requests. (Sorry. :D )
Could the dropdown-menu in the CDA and the BUG options screen be like 20px wider by default? That would let the translation fit in without horizontal scrolling bars.

I'll just have to translate some missing hints and the second revision of the translation should be ready for the public.
 

Attachments

Widening the CDA dropdown should be possible (and shifting over all the icons). To which dropdown are you referring in the BUG Options screen? I don't know that it will be possibly because the code doesn't specify the width for any of the controls. They are autosized by Civ4 using the widths of the items they contain.

Thanks for the CDA files. :)
 
I widened the screen by 200 pixels (now 1000) to make more room. Most of the tabs look a little goofy (left-shifted), but it should give you plenty of room for translations.

If there's interest, I'll make the width dependent on whether or not the user is using an inferior foreign language. ;)
 
I got 820. Do I hear 840? Going once. Going twice. Sold for 820 to the gentleman in the white coat! :p

Edit: OMG I just clicked on your NOOOOO link. :lol: Nice!
 
Done all the French translations in the Assets/XML/Text XML files.

Well, all... I'm at line 1400 in BUGOptions. but it's 2 AM now and the rest'll be for tomorrow, I mean later...

No clue how to translate 'capped chevron' and 'boxed capped chevron' though

EDIT: Please note that I don't have a French game to test how it ends up looking...
 
Great, thanks Falc!

You should be able to switch to French using the normal Options screen (Ctrl-O), bottom of the first tab. If not, just email me the file (same username @gmail.com) and I'll check it out (and merge it into SVN).
 
(does a little dance) Now all we need is Cam to reappear and do the Italian translations, and for a Spanish speaker to come along, and we are 100% translated.... I don't mind 50% though.;)
 
Roight, all done. Well, a few minor bits that I'm not 100% happy with, but it'll do. Tweaked things so they appear nice on my 1280x1024 screen, dunno how that'll affect other resolutions.

You want them through mail or can I just upload to the SVN?
 
Sweet! Yes, 50% is infinitely more translated than our previous 0%. :D

Please email me the file(s) and I'll put them into SVN when I get home tomorrow. And how do you want to be listed in the credits if different from "Falc"?
 
Back
Top Bottom