Forum

> > CS2D > General > CS2D Language File Git Repo
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch CS2D Language File Git Repo

52 Antworten
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

alt Re: CS2D Language File Git Repo

Cure Pikachu
User Off Offline

Zitieren
@user Talented Doge: You need a compatible font for it. For Chinese, search your C:\Windows\Fonts folder for Microsoft YuHei UI Regular (File name is msyh.ttc). Copy it to *CS2D root*\gfx\fonts. Then add this in the language file:
1
font=msyh.ttc
That was the one I used, but you might not have it if you have a different OS (I have Windows 10).
1× editiert, zuletzt 09.12.15 11:56:32

alt Re: CS2D Language File Git Repo

Pagyra
User Off Offline

Zitieren
i think there is problem with ASCII, UTF-8 and Unicode,
in same way that don't recognize cyrillic character correctly and show it as null characters

alt Re: CS2D Language File Git Repo

GeoB99
Moderator Off Offline

Zitieren
http://imgur.com/yV2FqdA

Fairly sure Bitbucket fucked up with the encoding type in the previous commit back then and now all characters with diacritic are turned in A. Luckily, the last commit didn't screw up with the characters encoding so that's a good point. It'd be appreciated if you can update CS2D again by replacing the last updated translation file only.

• Bump: Unfortunately I have lost access to my Bitbucket account thus I'll get the advantage of File Archive to update the translation file. If you, user DC, can implement my updated file cs2d Italian Translation for CS2D when you have your spare time it'll be a pleasure.
2× editiert, zuletzt 29.04.17 20:34:18

alt Re: CS2D Language File Git Repo

SQ
Moderator Off Offline

Zitieren
Ah everyone btw must use UTF-8, but not ANSI, I've seen many language file formats use ansi which makes no sense.

alt Re: CS2D Language File Git Repo

Ishara
User Off Offline

Zitieren
@user DC: I hate to bother you but a few days ago I helped some friends to create a pull request for Spanish, and there's an error and I'm not really sure how to fix it, I'm pretty new at bitbucket tbh.

IMG:https://i.gyazo.com/5bdb237a4b42c90782b524a0fdb75027.png

I made a new commit changes to check if this can be fixed.

alt Re: CS2D Language File Git Repo

ImCloudy
User Off Offline

Zitieren
user Ishara hat geschrieben
@user DC: I hate to bother you but a few days ago I helped some friends to create a pull request for Spanish, and there's an error and I'm not really sure how to fix it, I'm pretty new at bitbucket tbh.

IMG:https://i.gyazo.com/5bdb237a4b42c90782b524a0fdb75027.png

I made a new commit changes to check if this can be fixed.


Well.. By resolving conflicts manually it means that you open your source and git's source and add your update manually.
Conflicts can appear when you're commiting old version of the translation. For example actual version is r15535, someone edited it and commited, so new version is r15536, and you also commited your version which is r15535, and tada, conflict, because you didn't update the file before rewritting.. There are merging and conflict solving tools.

alt Thanks

Ishara
User Off Offline

Zitieren
Amazing answer @user ImCloudy: thank you for your help!

I'll keep that in mind.

alt Re: CS2D Language File Git Repo

DC
Admin On Online

Zitieren
Yes, someone else already updated the Spanish language file recently. So there are changes from two different sources and the system can't decide automatically which changes should be used. You have to do that manually.

Unfortunately I can't judge which changes to use because I don't understand Spanish at all...

alt Re: CS2D Language File Git Repo

Ishara
User Off Offline

Zitieren
I sent a message on bitbucket, anyways I'm leaving the same message here just in case.

Zitat
Well, this was made by a team in Spain, there are a few things different from South America / Latin. Based on diacritics and words approved by RAE. Maybe this can be selected as Spanish (International) file. Like Portuguese from Brazil and Portugal.

Up to you DC, regards!

alt Re: CS2D Language File Git Repo

DC
Admin On Online

Zitieren
Which version is international Spanish? Yours or the other one? Of course we can introduce 2 Spanish translations if it makes sense.

btw regarding Chinese: Chinese is now available as separate download because it requires quite a big alternative font containing all the required characters. It is available from the cs2d download page / here: http://www.unrealsoftware.de/get.php?get=cs2d_chinese.zip
(just extract to your CS2D folder)

alt Re: CS2D Language File Git Repo

Ishara
User Off Offline

Zitieren
LOL, I know. To avoid more issues, I will create a new pull request with the Spanish International (Spain), so you can leave the actual Spanish file as South America Spanish. What do you think?

alt Re: CS2D Language File Git Repo

DC
Admin On Online

Zitieren
Sure, name should be "Spanish (International).txt" though, following the naming scheme.

Edit:
lol you changed English.txt ... but no worries I'll fix that manually. You don't need to do anything.

Thank you for the translation
1× editiert, zuletzt 13.05.17 17:22:55
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht