You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doesn't this mean you can only upload one ftl file per language..?
yes, but would you need to upload multiple for admin uploads?
If you know a non-ugly way of having /Uploaded/**/<language-code>/* folder path, I'd prefer to do that, but I couldn't think of a non-ugly way.
You can upload more than one thing at a time, hence my objection.
well, you would include all the fluent strings in the same file, also, technically, you can have multiple .ftl files, if you put each in a different subfolder /Uploaded/1/en-US.ftl and /Uploaded/2/en-US.ftl would both be loaded correctly into the game
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added support for uploading .ftl files, by adding /Upload as a path on localization manager and making the game reload them.
Admins uploading custom .ftl must do the following format:
/**/Locale/<language-code>/*.ftlExample:
/TestUpload/Locale/en-US/MyFluentFile.ftlSolves this and this issues from content.