Giter Club home page Giter Club logo

Comments (17)

ash47 avatar ash47 commented on June 13, 2024

Is this on the server or a client? Have you got the latest version, or an old one? (language files were renamed around a month ago)

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

New Frota, using both server and client are the latest Frota, discovered resource folder prefix: addon_, how to I change the language?

from frota.

ash47 avatar ash47 commented on June 13, 2024

Oh, I see. The only way I know is via steam. Steam Settings --> Interface --> Language

I think it may ask you to restart steam, after that, Frota (and all of dota) will be in your chosen language.

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

Oh, you mean the service side of the steam needed to set the language for the language I want to change? Thus Frota language change?

from frota.

ash47 avatar ash47 commented on June 13, 2024

Yes, Frota is hooked into the steam / dota language system. Translations, etc, happen automatically if you set your strings up nicely like they are in Frota :D (for the most part)

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

After I changed and found Frota or use the default English

from frota.

ash47 avatar ash47 commented on June 13, 2024

Hell, if you really want to use a different language without screwing around in Steam, just rename the language files (and possibly change the first line)

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

OK Frota called language I really want to change, but the console was prompt:

Ignoring non-unicode close caption file resource/addon_schinese.txt
ILocalize::AddFile() failed to load file "resource/addon_schinese.txt".
Loading custom UI:
CDOTA_SF_Hud_Custom::Init frota

about AddFile() ?

from frota.

ash47 avatar ash47 commented on June 13, 2024

Ah, encodings -- we've had tons of trouble with encoding these language files. When you save it, you need to ensure it's being saved as unicode.

If you're using windows (and using notepad on windows), you'll see something like this: http://i.imgur.com/t3KHGmo.png

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

Oh, I'm trying to change

from frota.

ash47 avatar ash47 commented on June 13, 2024

Looks like there are saved incorrectly in github -- I have fixed them 1000000 times, guess they are broken again, I'll see if i have an old copy to replace the broken ones with.

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

Your language file, the default is UTF8 encoding

from frota.

ash47 avatar ash47 commented on June 13, 2024

There we go -- Just pushed something that should change chinese to be using unicode again --- siiiiggghhhh

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

https://github.com/ash47/Frota/tree/master/resource/addon_schinese.txt

from frota.

ash47 avatar ash47 commented on June 13, 2024

Ya, I just updated...

from frota.

hyyyp avatar hyyyp commented on June 13, 2024

Thank you for your help, I successfully modified the language file

from frota.

ash47 avatar ash47 commented on June 13, 2024

Awesome, if you have any more issues -- you know where to find me -- This project is basically dead though, all I'm interested in doing is keeping it running -- Working on newer mods now :P

from frota.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.