Conversation
|
I don't know how to put a pull here, but I wanted to do a Portuguese translation of Phira, I really loved the game, but I wanted to know how to translate it. If devs read this, I'd appreciate it, because I'm from Brazil and I recommended it to a friend of mine |
|
(Edited on Nov. 5) Before you add a new localeLocale / Directory Naming Convention (Unofficial)According to Wikipedia, the naming format of phira locale code may be:
For example: Fluent SyntaxEach translation file with suffix # Verify your grammar here:
# https://projectfluent.org/play/
# Comments will be ignored (starts by #, there is 3 or 4 comment type)
# https://projectfluent.org/fluent/guide/comments.html
# NOTICE: Please don't modify the identifier
this-is-identifier = This is the message to translate
# NOTICE: Please don't modify the placeables like { $identifier }
# You can move the position to fit your language grammar
# `/en-US/ui.ftl`
item-count = You have { $count } item(s)
# `/ja-JP/ui.ftl`
item-count = { $count }つのアイテムがあります
# For multiline translation string, please keep the indentations
about-content =
Phira v{ $version }
Social media:
BiliBili Account: @Phira官方
Phira is a non-commercial community-driven rhythm game inspired by Phigros.
# ^^ These are indentations, which marks they are the same strings.
# https://projectfluent.org/fluent/guide/multiline.htmlTable of Contents (Sort from simple to advanced)
Thanks for everyone's help in suggesting methods CLI ver. (Original)Click here(Translate by Google Translate) Search your locale codeAccording to Wikipedia, the naming format of phira locale code may be:
Microsoft's locale selection page may be able to give you some suggestions. If you want to create other languages, please replace
Create an issueFirst of all, it is recommended to create an Issue and tell the developers you want to use a new language translation (You just need to create it before the first translation), and then you can continue to the next step. When the developer refuses, you can still pause or continue immediately. You can also build it yourself, but you need
Start your translation journeySetup your enviromentAccording to @riosukisan, the translation you/he/she want should be
==Notice==
Create a branch (Recommended but not required)If you decide to do this step, please change the repo webpage given below from main to your branch. Commit and PushAfter making the changes, let’s submit the changes (commit)
Create Pull Request
Post-maintenanceDon’t forget to check back often to see if the
There are many thing I haven't mention such as create a branch(optional). Their are some note: and more on google... After Submit PRAccording to the Phira repository config, If you are ready to review: (ping = mention = at =
|
|
Now I'm screwed, I don't know anything about programming, I thought it would be done in a text file, which in my opinion would be easier to translate. I'm sorry |
|
@riosukisan In short you can just create your fork, download the zip, and then just use any text editor to translate the .ftl files So the steps are just simple:
|
|
@riosukisan |
|
@riosukisan
|
|
Hello again, my notebook ended up having a battery problem and I sent it for repair. I don't know when I'll get it again because I had to import a new battery. |
|
@riosukisan Yes, of course. But how do you send me these file, Google Drive? |
|
https://drive.google.com/file/d/1fiYqNgcP1d0wjs3jDxTyAc7sZYWW6CAn/view?usp=drivesdk |
|
@riosukisan Try join the discord server |
|
I already logged into the server |
@riosukisan You can upload files at https://github.com/kqakqakqa/phira/tree/main/prpr/locales/pt-BR if you want. Permissions are given. |
|
@kqakqakqa |












No description provided.