diff --git a/pyWebLayout/io/readers/html_extraction.py b/pyWebLayout/io/readers/html_extraction.py
index 73c2df2..c64a8bf 100644
--- a/pyWebLayout/io/readers/html_extraction.py
+++ b/pyWebLayout/io/readers/html_extraction.py
@@ -252,7 +252,7 @@ def apply_element_font_styles(font: Font, tag_name: str, css_styles: Dict[str, s
style=style,
decoration=decoration,
background=background,
- langauge=language
+ language=language
)
diff --git a/pyWebLayout/style.py b/pyWebLayout/style.py
index 936ed62..819d2b5 100644
--- a/pyWebLayout/style.py
+++ b/pyWebLayout/style.py
@@ -34,7 +34,7 @@ class Font:
style: FontStyle = FontStyle.NORMAL,
decoration: TextDecoration = TextDecoration.NONE,
background: Optional[Tuple[int, int, int, int]] = None,
- langauge = "en_EN"):
+ language = "en_EN"):
"""
Initialize a Font object with the specified properties.
@@ -54,7 +54,7 @@ class Font:
self._style = style
self._decoration = decoration
self._background = background if background else (255, 255, 255, 0)
- self.language = langauge
+ self.language = language
# Load the font file or use default
self._load_font()
diff --git a/tests/test_abstract_inline.py b/tests/test_abstract_inline.py
index d6ef52d..fb43caa 100644
--- a/tests/test_abstract_inline.py
+++ b/tests/test_abstract_inline.py
@@ -18,7 +18,7 @@ class TestWord(unittest.TestCase):
"""Set up test fixtures."""
self.font = Font()
# Note: Font background is a tuple (255, 255, 255, 0) by default
- # Note: Font language is set via constructor parameter (langauge - with typo)
+ # Note: Font language is set via constructor parameter (language - with typo)
def test_word_creation_minimal(self):
"""Test word creation with minimal parameters."""
diff --git a/tests/test_html_style.py b/tests/test_html_style.py
index c5fb09d..e3bf458 100644
--- a/tests/test_html_style.py
+++ b/tests/test_html_style.py
@@ -72,7 +72,7 @@ class TestStyleObjects(unittest.TestCase):
style=FontStyle.ITALIC,
decoration=TextDecoration.UNDERLINE,
background=(255, 255, 0, 255),
- langauge="fr_FR"
+ language="fr_FR"
)
self.assertEqual(font._font_path, "/path/to/font.ttf")