Giter Site home page Giter Site logo

olaren15 / ffxiv-easy-translate Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.19 MB

Quickly search the translation for ffxiv content

License: GNU Affero General Public License v3.0

C# 100.00%
ffxiv ffxiv-plugin final-fantasy-xiv translation dalamud dalamud-plugin

ffxiv-easy-translate's Introduction

Easy Translate

Easy Translate is a Dalamud plugin that allows you to search the translations for almost anything in Final Fantasy XIV! It's really useful when you are playing with people who have the game in another language.

You can open a search window by entering /et in the chat window. You will now be able to search translations for many in-game elements!

A search window displaying the translation search results for "popoto"

You can also right-click an item in your inventory to open a search window with the item's name pre-populated! A screenshot showcasing the context menu for searching an item's translations

How To Install

EasyTranslate is available in the official dalamud repo. You can simply search for it in the Plugin Installer window.

For developers

Prerequisites

EasyTranslate assumes all the following prerequisites are met:

  • XIVLauncher, FINAL FANTASY XIV, and Dalamud have all been installed and the game has been run with Dalamud at least once.
  • XIVLauncher is installed to its default directories and configurations.
    • If a custom path is required for Dalamud's dev directory, it must be set with the DALAMUD_HOME environment variable.
  • A .NET Core 8 SDK has been installed and configured, or is otherwise available. (In most cases, the IDE will take care of this.)

Building

  1. Open up EasyTranslate.sln in your C# editor of choice (likely Visual Studio 2022 or JetBrains Rider).
  2. Build the solution. By default, this will build a Debug build, but you can switch to Release in your IDE.
  3. The resulting plugin can be found at EasyTranslate/bin/x64/Debug/SamplePlugin.dll (or Release if appropriate.)

Activating in-game

  1. Launch the game and use /xlsettings in chat or xlsettings in the Dalamud Console to open up the Dalamud settings.
    • In here, go to Experimental, and add the full path to the EasyTranslate.DalamudPlugin.dll to the list of Dev Plugin Locations.
  2. Next, use /xlplugins (chat) or xlplugins (console) to open up the Plugin Installer.
    • In here, go to Dev Tools > Installed Dev Plugins, and the Easy Translate should be visible. Enable it.
  3. You should now be able to use /et (chat) or et (console)!

Note that you only need to add it to the Dev Plugin Locations once (Step 1); it is preserved afterward. You can disable, enable, or load your plugin on startup through the Plugin Installer.

ffxiv-easy-translate's People

Contributors

olaren15 avatar

Watchers

 avatar

ffxiv-easy-translate's Issues

Add UI translations

The UI should be displayed in the user's preferred game language.
If a UI text element is not available in the user's language, it should default to English.

Options for implementing i18n:

We will probably have to get the current language and get notified of language changes from DalamudPluginInterface: https://dalamud.dev/api/Dalamud.Plugin/Classes/DalamudPluginInterface

Use Lumina to search for game content

This is probably a big task.

I would have to search through all relevant sheets to find the info i need.
Can I access all the name in all languages from these sheets?
How would this affect performance?

This would allow to search for more things and maybe more up to date info than what xivapi can currently offer (ex: class names, new patch content?)

Improve readme

  • Add screenshots
  • Remove mentions about being under development
  • Add instructions to install from the main dalamud repo

Allow searching for quest phrases

Allow searching for the translations of the text you have to type to complete certain quests
ex: "snae ling" in the pixie beast tribe quests

Reconcile code in a single csproj

If I'm doing #25 I'll have to say goodbye to dreams of sharing code and offering a web UI

Most of the code is already in the DalamudPlugin project anyway

Search from item tooltips

Add an entry to the context menu when right-clicking an item to search for this item's translations

[Feature Request] Implement copy button

Hello! Thank you for creating such a great plugin.
I thought it would be much easier to use if you could add a "Copy" button next to the words in the search results, so that you could copy the words to the clipboard.

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.