Skip to content

Language is hard-coded as Korean #33

@couladin

Description

@couladin

Nice tool! My installation is in LazyVim and done using the lazy.vim install instructions.

I notice that when I send a post, the language is set to Korean. Changing it is not mentioned in the README, and will cause issues for people who filter Mastodon content based on language.

I think it's due to it being hard-coded in api_client.lua on line 406:

body = vim.fn.json_encode({
status = message,
media_ids = {},
sensitive = false,
spoiler_text = "",
visibility = vim.g.mastodon_toot_visibility or "unlisted",
poll = nil,
language = "ko",
}),

It would be great if it was possible for users to configure their preferred language in their configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions