BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Externalize all strings

Open YousefED opened this issue 2 years ago • 5 comments

Make sure all strings used in BlockNote are configurable, so that it can also be used in different languages.

The initial approach should just be that strings can be passed to options - which should be enough for other applications to customize / localize. Later, we can see if we want to build in support for different languages or i18n.

YousefED avatar May 30 '23 11:05 YousefED

Can I pick this?

sudarshanshenoy avatar Jun 05 '23 18:06 sudarshanshenoy

Can I pick this?

Would be great!

YousefED avatar Jun 05 '23 19:06 YousefED

Hey there! Great work on the project, thanks! How is this specific issue going? I would be very willing to collaborate :)

simonfan avatar Mar 19 '24 02:03 simonfan

@simonfan for sure! I think a good first step would be to create a DictionaryContext and put all strings on there - and make sure components retrieve them from this context. Then after that, we can figure out a good API to provide a dictionary for different languages

YousefED avatar Mar 19 '24 08:03 YousefED

Great! As a first step, I'll just locate all text strings and think of a suggestion on how to proceed!

simonfan avatar Mar 27 '24 16:03 simonfan