NOALBS / nginx-obs-automatic-low-bitrate-switching

Simple app to automatically switch scenes in OBS based on the current bitrate fetched from the NGINX stats page.
http://noalbs.com
MIT License
340 stars 77 forks source link

the language? #86

Closed Blackwolf8202 closed 2 years ago

Blackwolf8202 commented 2 years ago

Have an idea if I want to change the language to the stream instead of Danish or English to Swedish where can I go in and do it?

715209 commented 2 years ago

Hi Blackwolf8202,

Since there is no Swedish language file you would have to create one yourself. If you would like to do this, copy the en.yml from the locales folder:

https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/blob/7e5c41eadbb0b1938cea7653636a06292b33413f/locales/en.yml#L1-L5

Then rename it to something like swe.yml or sv.yml and translate the text (do not remove the %{...}). After translating you would have to compile the program yourself or create a pull request and I will release a new version with the new language file.

Blackwolf8202 commented 2 years ago

okay thanks =)